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

<node3d:avatar>.getCycleRunning

Returns if the animation cycle is running

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

Remarks

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

Return Value

True/False

Example

avatar.state(2)
if avatar.getCycleRunning(2):
    print('Cycle 2 is running')

See also

<node3d:avatar>.getActionRunning