Trouble with If statements with AE expressions
Hi
I'm very new to After Effects and am trying to make a scoreboard that runs off a .csv file. I want to move a cursor from an inital start position to the current score position and then, when the scores are updated, have it more to the new cursor position. I've attached an animation of the basic concept of what I've trying to do. Apologies for the ugly cloud overlay, they have been removed already.
The problem i'm having is constructing the if statements to direct the positon transform to the 3 locations. If I write a statement like so:
if(time > 5){
[currentCoordinates,708.5]
}
It will be nullified by adding the following:
if(time > 8){
[newCoordinates,708.5]
}
The result is the cursor only moves on the last if statement in the sequence.
Maybe i'm approaching this all wrong but any help would be greatly appreciated.
Many thanks ATB
Concept video:
