Vizard 7 » Command Index » Vizard objects » node3d » <node3d:avatar>.getActionRunning
7.6

<node3d:avatar>.getActionRunning

Returns if the animation action is running

<node3d:avatar>.getActionRunning(  
animation  
)  
animation
Animation number

Remarks

This command will return whether the animation is currently being executed on the avatar.

Return Value

True/False

Example

avatar.execute(3)
if avatar.getActionRunning(3):
    print('Animation 3 is executing')

See also

<node3d:avatar>.getCycleRunning
<node3d:avatar>.execute
<node3d:avatar>.state