Showing posts with label dblclick. Show all posts
Showing posts with label dblclick. Show all posts

Thursday, 14 March 2013

EaselJS: Simple Mouse Events

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.