Picked GUI is not possible?

Hello,

Would it be possible to have the possibility to select with scene.pick () the GUI elements.

I would like to be able to detect that a GUI element on the stage has been selected to display its properties in my editor.

Maybe it is already possible or it is not possible? Is this a feature that can be supported?

I have tried, but no GUI capture

https://www.babylonjs-playground.com/#2ARI2W#55

Thank you

Nope GUI is a 2D layer and cannot be used with pick

But you can have a pointer down observable on your GUI and use it to check if the GUI was picked

Yes I had thought about it, but if I could do it otherwise it would have been better.

I’ll do with an observable then.