2025-01-22 16:18:30 +01:00

18 lines
457 B
Python

from lnx.logicnode.lnx_nodes import *
class IsFalseNode(LnxLogicTreeNode):
"""Passes through its activation only if the plugged-in boolean
equals `false`.
@seeNode Is True"""
bl_idname = 'LNIsFalseNode'
bl_label = 'Is False'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxBoolSocket', 'Bool')
self.add_output('LnxNodeSocketAction', 'Out')