Getting the track index (not the track id) [solved]

Just Evan's icon

Hello. How can I get the index of the selected track (its ordinal number in the arrangement)?

Edit: oh everything is much simpler! Just @getpath