Question about Controls (solved)

Hey there!
Is there no way to get all the controls of a Spatial?
I can
a) get the first control of a certain class
b) get the control of a certain index

But what if I have multiple controls of one kind?
As far as I can see, there is no way to loop through the controls of a Spatial, I would have to loop until I get an Exception, if I don’t know the number of controls of every spatial.
Why exactly is that?

Because you’re kind of expected to have only one Control of one type on there as well as know what Controls you have on there.

1 Like

1 Like

Alright, thanks both of you!
That explains and solves it :slight_smile: