E.A. Posted May 12, 2018 Share Posted May 12, 2018 Hej hej, Is there a way to trigger the "onPointer" events in babylon.gui when the pointer is down. E.g. if I hold the pointer down and move over a "BABYLON.GUI.Ellipse" can I trigger "onPointerMoveObservable" ? It worked in older versions of babylon.gui. (no idea what I used before, end 2017, just downloaded the latest files) I want to create a menu that unfolds as you move the pointer in the "down" state. Is there a way to make "button2" turn blue: http://www.babylonjs-playground.com/#PJH36M#2 Cheers, Erik Quote Link to comment Share on other sites More sharing options...
Guest Posted May 14, 2018 Share Posted May 14, 2018 If you hold the pointer down over the scene (and not a GUI element) then the pointer move is for the scene (to move camera for instance). If you first click over the GUI element and then starts moving the move will go to GUI. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.