Clicking child button on parent button

Hello,
How can I ignore a click on parent button, and trigger onPointerUpObservable of my child?

Note: I cannot use Rectangle for my parent because I need to apply texture to the parent
thank you

What about using GUI.Image as parent?

The problem with gui.image is that I cannot specify corner radius :slightly_frowning_face:

Here we are :slight_smile: GUI Button in Image | Babylon.js Playground (babylonjs.com)

1 Like

Thank you! That works great!

1 Like