Rollover or gotoandplay?

hi im kinda new here :slight_smile:
i need a code thatll make the red bar on the middle follow the arrow, so when i rollover on the green buttons , the red bar will point to this green button and stay there, when i click on that button that red still points there, so when i clik on the other greens, the red bar would do the same …

help much appreciated …