Vizard 8 » Command Index » Vizard objects » node3d » <node3d:avatar>.stopAction
8.0

<node3d:avatar>.stopAction

Stop an animation action

<node3d:avatar>.stopAction(  
animation  
delay = viz.AVATAR_DELAY  
)  
animation
Animation number
delay = viz.AVATAR_DELAY
The amount of seconds to blend the animation out of execution.

Remarks

This command will stop the animation if it is currently being executed.

Return Value

None

Example

#Execute the animation
avatar.execute(3)
.
.
.
#Stop the animation from executing
avatar.stopAction(3)