Hello everyone,
So I think this is a pretty basic question but I can't figure it out.
I have a scene with 3 root objects in it :
- what I call a background (a big white square)
- what I call a pixel (a red small square)
- and a group that contains a bunch of lines to draw a grid
You can see a screen of those root children and if you check the console, you will see that those 3 items are properly placed at the root of my scene.
When I switch the visible flag of my group that contains all the line to false, my little red square (called 1:1) also disappear. This is not an issue with my code - I think - since whenever I toggle the visible flag directly from the console on the group, the red square also disappear.
I checked and the square is still visible.
I am just wondering why toggling the group has also an effect on the other object.
I can obviously provide more information if you need.
Thanks a lot!