UI element using children input


#1

https://playcanvas.com/editor/scene/744214

I have two images, the father has a script with the line:
this.entity.element.on(pc.EVENT_MOUSEDOWN, this.Test, this);

The children image has the Use Input option active and triggers the event in the parent element.

How can i avoid this?

Thanks in advance.