Getting mouse coordinates without an event in ActionScript 3

I need to get the mouse coordinates in my program. I know I can do this using the MOUSE_MOVE event, but I would like to know if there is a simpler and more direct way.

Is it possible to get mouse coordinates without using events in as3?

+4
source share
1 answer

There are mouseX and mouseY properties on the scene, which you can access at any time.

+14
source

Source: https://habr.com/ru/post/1500149/


All Articles