scofieldly Posted August 2, 2018 Share Posted August 2, 2018 hi guys, is there any way to calculate the sprite's actual position in the dom layer, I want to make an input text to follow a phaser sprite in the canvas, thanks. Link to comment Share on other sites More sharing options...
samme Posted August 2, 2018 Share Posted August 2, 2018 Look in the Pointer, InputManager, and ScaleManager classes. There should be a way because Phaser has to map all the DOM input positions onto canvas positions. Link to comment Share on other sites More sharing options...
Recommended Posts