from lnx.logicnode.lnx_nodes import * class CanvasGetVisibleNode(LnxLogicTreeNode): """Returns whether the given UI element is visible.""" bl_idname = 'LNCanvasGetVisibleNode' bl_label = 'Get Canvas Visible' lnx_section = 'elements_general' lnx_version = 1 def lnx_init(self, context): self.inputs.new('LnxStringSocket', 'Element') self.outputs.new('LnxBoolSocket', 'Is Visible')