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

15 lines
424 B
Python

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')