Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在我的程序中获取鼠标坐标。我知道我可以使用 MOUSE_MOVE 事件来做到这一点,但我想知道是否有更简单直接的方法。
是否可以在不使用 as3 中的事件的情况下获取鼠标坐标?
舞台具有可随时访问的 mouseX 和 mouseY 属性。