BABYLON.GUI.Container to create a button

HI!) To create a button from several images, I use BABYLON.GUI.Container, hang an onPointerDownObservable event handler on it, but it either works out or not((I don’t know what the problem is, help please

https://www.babylonjs-playground.com/#8U4N05#5

1 Like

you need to set the width and height property for the container)

2 Likes