from lnx.logicnode.lnx_nodes import * class ArrayGetNode(LnxLogicTreeNode): """Returns the value of the given array at the given index.""" bl_idname = 'LNArrayGetNode' bl_label = 'Array Get' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketArray', 'Array') self.add_input('LnxIntSocket', 'Index') self.add_output('LnxDynamicSocket', 'Value')