[HELP] Best way of getting an array of objects of a particular class type in a Level

I forgot that I can’t cast to a Level and access its variables. Or can I?