(Formerly known as IsObjectAnimating, which is now obsolete)
readonly bool Object.Animating
Returns 1 if the specified object is currently animating.
Returns 0 if the object has finished its animation.
This property is read-only. To change object animation, use the
Animate command.
Example:
object[2].Animate(5, 0);
while (object[2].Animating) Wait(1);
will animate object 2 and wait until the animation finishes.
In reality, you would simply use the Blocking parameter of Animate so you wouldn't need
to do this.
See Also: Object.Animate,
Object.Moving,
Object.StopAnimating,
Object.X, Object.Y
|