I am working on a editor where you place 3D object on a plane currently.
The problem is that the plane catches all mouse interactions.
So when i add a cube and add click events to it, it get’s ignored, and the click is sent right through it to the plane.
I am guessing this is mouse zindex related somehow, but i am not sure what/how to set it to “layer” the cube on top of the plane so it catches the mouse clicks instead.
A little help would be highly appreciated
@edit, i add the cube to the scene After i add the plane.