Vizard 7 » Command Index » Vizard objects » node3d » <node3d>.clearActions
7.3

<node3d>.clearActions

Clear all actions

<node3d>.clearActions(  
pool = 0  
)  
pool = 0
Action pool number or viz.ALL_POOLS

Remarks

This command is the equivalent of clearing a nodes action list and ending the current action.

Return Value

None

Example

#Add some actions to the node
node.addAction(vizact.fadeTo(0,time=2))
node.addAction(vizact.moveTo([0,0,3],speed=4))
.
.
.
#Stop the above actions from running
node.clearActions()

See also

<node3d>.addAction
<node3d>.clearActionList
<node3d>.endAction
<node3d>.getAction
<node3d>.pauseActions
<node3d>.resumeActions
<node3d>.runAction