Sudoku Posted November 13, 2018 Share Posted November 13, 2018 Hi everyone, one quick question: Is it possibel to set preventDefaultOnPointerDown for babylonjs GUI? PG example: https://www.babylonjs-playground.com/#CNT1E0#2 The move method is only called if the pointer is not down. Can i change that? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 13, 2018 Share Posted November 13, 2018 Actually the problem is that both image and panel are not blocking the pointer (which means that the scene and thus the camera are capturing the move) Just add image.isPointerBlocker = true to fix your issue Sudoku 1 Quote Link to comment Share on other sites More sharing options...
Sudoku Posted November 13, 2018 Author Share Posted November 13, 2018 perfect thanks once again Quote Link to comment Share on other sites More sharing options...
Guest Posted November 13, 2018 Share Posted November 13, 2018 Cool! Flagging as solved 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.