Files
LNXSDK/leenkx/blender/lnx/logicnode/krom/LN_webview_count.py
2026-07-13 15:44:52 -07:00

14 lines
363 B
Python

from lnx.logicnode.lnx_nodes import *
class WebviewCountNode(LnxLogicTreeNode):
"""Returns the number of active WebViews"""
bl_idname = 'LNWebviewCountNode'
bl_label = 'Webview Count'
lnx_category = 'Krom Runtime'
lnx_section = 'webview'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxIntSocket', 'Count')