How do you pull one of the items that's on a List global depending on what was chosen from another global?

Basically, I want to be able to display a word that’s from a List global depending on what the current selection is on another, separate List global. For example: I have a list that has a different types of elements (e.g. Colors, Drinks, Foods, etc.), and one of them is selected, I want to have the prior item and the following item show up before and after the actual selected one, respectively. So, say “Drinks” is the selected one, then it should show “Colors” to the left of that and “Foods” to the right. If that makes any sense, then I need to know, how would I go about doing that, as far as the Kode involved with executing this effect? I’m assuming it’d probably have something to do with indexing but I’m more confused about that stuff than any other feature within the KLWP app. Any help would be greatly appreciated!

Hi @mkxxxix ,

Check my post below and see if it’s suitable to your need.

I hope this would help.

:smiling_face::+1: