Vizard 8 » Command Index » Vizard objects » node3d » <node3d>.endAction
8.1

<node3d>.endAction

End the current action

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

Remarks

This command will end the current action that is running on the specified pool.

Ending an action will mark it as finished. During the next update cycle, the next action in the waiting list of the pool will be started.

Return Value

None

Example

#Add an action to the node
moveAction = vizact.moveTo([0,0,100],speed=3)
node.addAction(moveAction)
.
.
.
#Stop the action before it finishes
node.endAction()

See also

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