I'm porting a point&click game, and I'm kind of scratching my head over something that should be simple ...
I'm trying to create an animation for the lock circled in blue. When you click the ball, it should move to the center, when you click it again, it should move right, and finally, when you click again, it should move all the way to the left again.

My idea was to create 3 key frames for the 3 ball positions, and whenever the ball is clicked, play the animation to the next keyframe (with 'loop' set to true).
Unfortunately, I can't seem to find a way to do that ... ?
