Invisible Planes Still Clickable?


#1

I have created a project with multiple 2D planes that can each be toggled visible or invisible by a nearby button, creating “pop-up” windows. Each of these pop-ups can be tapped to launch a full screen video. However, even when these pop-ups are invisible, if they overlap a button, they launch their video when the user thinks they are tapping on the button behind it.

Is there a way to completely disable a plane when it is invisible, so that it can only be tapped when it is visible?


#2

Nevermind - I just figured it out: toggling on or off accordingly in the “behavior” panel for a given panel’s state.


#3

Hi There,

While it looks like you’ve managed to figure out the issue allow me to elaborate for the sake of anyone else with this question :slight_smile:

The ‘visible’ property of the plane node sets it to be either visible or invisible but does not affect the touch events that can be fired from it, you need to uncheck the ‘enabled’ checkbox if you want to disable that functionality.

image

Cheers,
Mark