How would I get the position of an UIListLayout item?

I’m trying to make a similar UI to apple’s tvOS topbar UI, and I can’t figure out how to get the position of the item in the UIListLayout, as the position value does not update and I am unsure whether I can use absoluteposition or anything similar.

This is the end result I am trying to get:

But to get to this stage, I need to move the selector element (white box) to the position of the text frame element (e.g Automations).

If anyone knows how it’d be super helpful!