diff --git a/leenkx/blender/lnx/logicnode/array/LN_array_index_list.py b/leenkx/blender/lnx/logicnode/array/LN_array_index_list.py new file mode 100644 index 0000000..18f706c --- /dev/null +++ b/leenkx/blender/lnx/logicnode/array/LN_array_index_list.py @@ -0,0 +1,13 @@ +from lnx.logicnode.lnx_nodes import * + +class ArrayIndexNode(LnxLogicTreeNode): + """Returns the array index list of the given value as an array.""" + bl_idname = 'LNArrayIndexListNode' + bl_label = 'Array Index List' + lnx_version = 1 + + def lnx_init(self, context): + self.add_input('LnxNodeSocketArray', 'Array') + self.add_input('LnxDynamicSocket', 'Value') + + self.add_output('LnxNodeSocketArray', 'Array') \ No newline at end of file