Shadow Rising Posted March 2, 2014 Share Posted March 2, 2014 Can someone please show me how the Stage.getMousePosition() function works? Thank you! Quote Link to comment Share on other sites More sharing options...
xerver Posted March 2, 2014 Share Posted March 2, 2014 It is the current mouse position based on mouse move events. The value is set in this function: https://github.com/GoodBoyDigital/pixi.js/blob/master/src/pixi/InteractionManager.js#L327 Quote Link to comment Share on other sites More sharing options...
Shadow Rising Posted March 2, 2014 Author Share Posted March 2, 2014 It is the current mouse position based on mouse move events. The value is set in this function: https://github.com/GoodBoyDigital/pixi.js/blob/master/src/pixi/InteractionManager.js#L327Thank you for the help, the documentation of pixijs is really strange. 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.