humaidk2 Posted March 13, 2017 Share Posted March 13, 2017 HI, I'm trying to use screenspace2d as a button but when I add a viewport(minimap), the minimap becomes unclickable. Is there anyway I can change the z order or something similar to make the canvas clickable? http://www.babylonjs-playground.com/#1B4NJV#3 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 13, 2017 Share Posted March 13, 2017 Ping @Nockawa or @adam Quote Link to comment Share on other sites More sharing options...
Temechon Posted March 13, 2017 Share Posted March 13, 2017 http://www.babylonjs-playground.com/#1B4NJV#4 Line 28 is the fix adam, humaidk2 and Nockawa 3 Quote Link to comment Share on other sites More sharing options...
humaidk2 Posted March 13, 2017 Author Share Posted March 13, 2017 Woah Thanks, Appreciate it. 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.