I have the transition below which moves my rock from its starting position to the x position below (moves left to right). Then it starts back at the beginning and repeats continuously.
slidingRock1 = transition.to( rock1, { time=4000, x=468, iterations=-1, transition=continuousLoop} )
What I would like it to do is when it transitions to x=468 I would like it to move right to left back to x=300 and repeat these two back and forth movements continuously.
I’ve been playing around with the transitions but I can’t seem to make this back move.
Any suggestions?
Thanks,
Lori