Hi @karimabdelrazek ,
Firstly, the Selected Item of a gallery does not have a Y Property.
Depending on the possibility if this going off the screen, it would be (sort of) achievable by collecting the first list
ClearCollect(colFirstList, FirstList)
Adding a number column to it
Clear(colYRef);
ForAll(
colFirstList,
Collect(
colYRef,
Last(
FirstN(
AddColumns(
colFirstList,
"RowNo",
CountRows(colYRef) + 1
),
CountRows(colYRef) + 1
)
)
)
)
Then setting base the First list on colY and the Y of the second list to something like
(colY.Selected.RowNo * Gallery2.TempleSize) + Gallery2.Y
I have not tested any of this - it is a concept.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.