Basic Clicks
In the example above, if you double click on the circle, you will see an alert that gives you information about where the mouse was (relative to the whole stage) when the clicking was done.
These can be accessed by using event.stageX, and event.stageY.
This also works with click, and mousedown.

No comments:
Post a Comment
Please enter your message here...