cnwerb Posted December 12, 2016 Share Posted December 12, 2016 How can I get the position of the mouse inside the container/renderer? i.e. with reference to the coordinate system of the stage? I know of renderer.plugins.interaction.mouse, but that seems to get the mouse position inside the entire window, when I want the mouse position inside of the stage. How can I do this? Quote Link to comment Share on other sites More sharing options...
Théo Sabattié Posted December 12, 2016 Share Posted December 12, 2016 https://pixijs.github.io/docs/PIXI.DisplayObject.html See : toLocal method. 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.