stopPropagation for AdvancedDynamicTexture (GUI)

Hi all!

In the demo, when I move my mouse over the green rectangle, I can highlight/click on the button. I shouldn’t be able to do this!

How can I make it so that on click/movement of the mouse, only the objects on the green rectangle are selected and clicked?

I need a few AdvancedDynamicTexture. So the option with one AdvancedDynamicTexture is not a solution to the problem.

Playground

There is currently no way of blocking an ADT from passing events to an ADT below it.
The observable implementation we have does support it, so it is technically possible to add this functionality.
You can create an issue on github and we will tackle it when we find the time for it :slight_smile:

2 Likes