I have listeners on my complete page for mouseDown, mouseUp, mouseMove, but not on individual objects.
Is the only way to get the currently clicked object to traverse all the objects I've created on the screen, and do a hit test? or am I missing something?
People call me "underscore".
Comments
In your listener get Event.x and Event.y and then compare with yoor objects x and y.
(object:getX(), object:getY() )
Make a hit test like that.
Dislikes: anneMurielle
Any idea of any performance hit doing this vs a single listener?