Can someone please explain whyonPointerUpObservable not working: https://www.babylonjs-playground.com/#XCPP9Y#1313
I want click rectage and arc ,they look like buttons,zoom out when pressed, and resume when released。
Can someone please explain whyonPointerUpObservable not working: https://www.babylonjs-playground.com/#XCPP9Y#1313
I want click rectage and arc ,they look like buttons,zoom out when pressed, and resume when released。
I’m taking a look
I try on phone and it looks ok
When I create a button instead of a GUI.Rectangle the onPointerUpObservable is called properly.
For the Rectangle, the event is fired only when the mouse pointer is getting outside the canvas.
Do you have an idea @Deltakosh ?
Make sure to flag the rectangle with isPointerBlocker=true maybe?
@Deltakosh
thanks,at v2.5, v3.0 and before v4.0 alpha 3 ,it looks ok.