Animation.Stop Manual     Reference     Scripting  
Scripting > Runtime Classes > Animation
Animation.Stop

function Stop () : void

Description

Stops all playing animations that were started with this Animation.

Stopping an animation also Rewinds it to the Start.

// Stop all animations
animation.Stop();

function Stop (name : string) : void

Description

Stops an animation named name.

Stopping an animation also Rewinds it to the Start.

// Stop the walk animation
animation.Stop("walk");