How do I make it stop?

How do I make an animation stop? I’m trying to do the shine affect on a box, but I don’t know how to tell it to go only once. Also, how do I make the gradient “tween faster” and more smoothly? My animation jerks from place to place.

Place this on the frame you want it to stop on:[AS]stop();[/AS]

And to make it move smoother/faster, increase the frame rate - fps (in Properties panel).

Welcome to the forums. :thumb: