Is there a way to add a number of children depending on a number in the _ready function?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By OiKeTTLe

Usually I’d do this in a while loop, which I’ve tried, but it only gets called once. It needs to be in the _ready function, because it defines some important variables. Anyone know a way around this?

:bust_in_silhouette: Reply From: Inces

You can use for loop, it will be iterated X number of times, where X is your chosen number

var number
for x in range(number):