Horizontal Swipe Navigation with Indicator




I’m building a prototype where the user can swipe through the navigation horizontally. When the user taps on a navigation item the indicator below shows which item has been selected. Also, I would like when an item has been selected and it’s off screen, see button 3, that when tapped it moves into focus. I’m struggling to get the indicator to move along to the next button when selected. I’ve used the move action and assigned a number to the X axis but I can’t get it moving back and forth between the buttons. It’s almost like it needs to recognise where it’s positioned and calculate from there?

If anyone could help me it would be greatly appreciated!
Thank you!


It would really help others here help you better if you could post your .rp file. Solutions for this will depend on how you’ve set it up.