Add leenkx/blender/lnx/logicnode/logic/LN_once.py

This commit is contained in:
2025-07-15 22:06:11 +00:00
parent e9aae53be9
commit 6afc209db7

View File

@ -0,0 +1,15 @@
from lnx.logicnode.lnx_nodes import *
import bpy
class OnceNode(LnxLogicTreeNode):
bl_idname = 'LNOnceNode'
bl_label = 'Once'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'Run Once')
self.add_input('LnxNodeSocketAction', 'Reset')
self.add_output('LnxNodeSocketAction', 'Out')