MarianG Posted December 11, 2017 Share Posted December 11, 2017 Hello, my friends. I have two doubts about gui. 1. Is there an option to add cursor pointer to gui, on some buttons, I mean, there will be nice a "cursor" attribute on each gui elements, something like buton.cursor ="pointer". But this is just a requirement. 2. It is related to the first problem. Can you drive me to where hover events happened in gui script. If I want to add my own hover events how can I do that? ps: maybe these already exist, but I couldn't find them. Thank you. Quote Link to comment Share on other sites More sharing options...
MarianG Posted December 11, 2017 Author Share Posted December 11, 2017 nevermind, I found it: https://doc.babylonjs.com/how_to/gui#events .I don't know how I missed them first time https://www.babylonjs-playground.com/#ZI9AK7#19 Wingnut 1 Quote Link to comment Share on other sites More sharing options...
MarianG Posted December 11, 2017 Author Share Posted December 11, 2017 But i can't make this cursor pointer yet edit: mission complete https://www.babylonjs-playground.com/#ZI9AK7#127 Quote Link to comment Share on other sites More sharing options...
MarianG Posted December 11, 2017 Author Share Posted December 11, 2017 edit2: I think I was too elated. Here, the cursor doesn't work, and I don't know the reason Why in the previuous playground it works and here it doesn't work Quote Link to comment Share on other sites More sharing options...
adam Posted December 11, 2017 Share Posted December 11, 2017 https://www.babylonjs-playground.com/#XCPP9Y#349 GameMonetize and MarianG 2 Quote Link to comment Share on other sites More sharing options...
MarianG Posted December 11, 2017 Author Share Posted December 11, 2017 Thank you. Just perfect GameMonetize 1 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.