Button don't work with layerMask

Hello,
I created a button, I used layerMask to display it with camera 1, but it is not active.
What is missing ?
https://www.babylonjs-playground.com/#GU4CP2#3

Hello! not sure to get your problem as I can click on the button in your PG

What are you expecting?

Edit: I’m stupid :slight_smile: I cannot click on the button :slight_smile:

So you need to set the camera1 for pointers with:

scene.cameraToUseForPointers = camera1;
1 Like

Nice, thank’s