LNXSDK/leenkx/blender/lnx/logicnode/trait/LN_set_trait_paused.py
2025-01-22 16:18:30 +01:00

15 lines
471 B
Python

from lnx.logicnode.lnx_nodes import *
class SetTraitPausedNode(LnxLogicTreeNode):
"""Sets the paused state of the given trait."""
bl_idname = 'LNSetTraitPausedNode'
bl_label = 'Set Trait Paused'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxDynamicSocket', 'Trait')
self.add_input('LnxBoolSocket', 'Paused')
self.add_output('LnxNodeSocketAction', 'Out')