Fish out a random child in a structure

Hi everyone,
Can anyone explain to me how to fish out a random child in a structure?
This is my current code:


I need two random power-ups to be created when the power-up layer is visible, without repeating the same one.
This way, they’re always created in the same order:
1-2
2-3
4-5
etc.
While I need to randomize

You mean Array not Structure

ONCE will go trough your whole child list ONCE

LOOP will make new list as soon as all child vars were used once
BUT will also prevent last picked child of previous list to be first picked child of new list

1 Like