Setting the variable twice on keypress

Hi All,

I have created a shape and set a default value as position 2.  On keypress if position = 2, move along path to position 1 then set the position to equal 1

This works well for 2 directions but I want an additional position, the trouble is it will set position = 2 if position =1 THEN continue to set position to 3 if position = 2.  I have attached a file that also displays a text box of the variable which displays the position going from 1 to 3.  Does anyone know what I am doing wrong.

Thanks

Wendy

2 Replies