I have a container set to interactive.
I’ve then added several sprites via a for statement. Each sprite is set to interactive individually (they do different things).
I then want to make each sprite uninteractive (removeInteractive) all at once. If I set the container to not interactive, it doesn’t work–each sprite remains interactive. I assume I need to access each child in the container and use a removeInteractive statement.
I’ve tried a forEach statement but that doesn’t work.
How do I access children of a container? thanks