Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Animation.Stop

Switch to Manual
public 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();
public 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");