nanodeath
09/23/2020, 2:26 AMplayArea.hitTest(mouseXY)
(playArea is a roundRect
) no longer works correctly.
playArea.hitTest(playArea.localMouseXY(views))
also doesn't work. what's the incantation I'm missing?mouseXY
, aka Stage.mouseXY
, return coords relative to the Stage (seems obvious now...)
3. views.input.mouse
is undocumented but seems to return global coords.
4. playArea.hitTest(views.input.mouse)
is the answer.Deactivated User
09/23/2020, 6:03 AMnanodeath
09/23/2020, 3:13 PMDeactivated User
09/24/2020, 8:10 AM