Getting a range of index from array?

Is there a way to get an array index range for example: 2-15, as in a range of integers, and plug it into Set Array Elem/any other index node?

You can try using Resize to initiate bigger number of elements in same time:

There no minimal index option, it tied to way native arrays work in C++ (they point to memory address where array start and read farther as you input index), you would need to fix indexes using functions and interact with array exclusively using those functions

Not for sure, if this helps, but if you are looking for the range index to be random, but if so, here’s the node

if you are, use the length or last index node for an array (whether you want the range to relative to 1 or 0) to supply the max value for the RandomInteger node.

Have a great day!

If anyone is still wondering, For each loop might do the job.