I wasn’t even sure how to search to see if this existed.
Say I have a list (array) of functions
s_0, s_1, s_2, etc… probably going to be 30 or so in the list.
Is there a way to do an if statement so that…
if the last function == s_0 … do this thing
else the last function == s_2 … do this other thing
i’m basically doing a linear presentation of functions
and i need the ability to go foward and backwards… but the animations/functions may be different depending on the direction, up or down in the list.
Help? :puzzled: