armory/blender/arm/logicnode/animation/LN_set_action_paused.py
2021-07-20 20:53:37 +02:00

15 lines
486 B
Python

from arm.logicnode.arm_nodes import *
class SetActionPausedNode(ArmLogicTreeNode):
"""Sets the action paused state of the given object."""
bl_idname = 'LNSetActionPausedNode'
bl_label = 'Set Action Paused'
arm_version = 1
def arm_init(self, context):
self.add_input('ArmNodeSocketAction', 'In')
self.add_input('ArmNodeSocketObject', 'Object')
self.add_input('ArmBoolSocket', 'Paused')
self.add_output('ArmNodeSocketAction', 'Out')