LNXSDK/leenkx/blender/lnx/logicnode/trait/LN_get_trait_paused.py

13 lines
370 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class GetTraitPausedNode(LnxLogicTreeNode):
"""Returns whether the given trait is paused."""
bl_idname = 'LNGetTraitPausedNode'
bl_label = 'Get Trait Paused'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxDynamicSocket', 'Trait')
self.add_output('LnxBoolSocket', 'Is Paused')