When I kept console.log(isMouseButtonPressed(0)), it always false , even through clicking left button in game.
Than I kept console.log whole InputManager , when mouse moving , the data is not changing.
Is it a bug? or I use it incorrectly?
Try this to get an input manager.
const inputManager = runtimeScene.getGame().getInputManager();
Otherwise, the Draggable extension code might help.
oh thanks , it works!