I set up 2 boolean variables that detect when the up key or down key is pressed. To try to prevent it from rapidly switching between the selections. (Like a turbo button.)
Remove these additional animations and leave only 1
W and S to change position of ball
RED = distance from top of Y position of one text object to another
GREEN = RED * how many text objects (list options) you have
BLUE = starting position of top most list option
If distance between each text object would be 10 then
mod(FailVariable-10,30)
mod(FailVariable+10,30)
If distance would be 10 and you would have 5 list positions there then
mod(FailVariable-10,50)
mod(FailVariable+10,50)
If you want to block ball/cursor on top most and bottom most list position then
clamp(FailVariable-10,0,30)
clamp(FailVariable+10,0,30)