FlxButton onDown behaviour
-
I noticed, if you hold down the left mouse button anywhere on screen, and drag it over a button, the button gets pressed (onDown triggered). Not sure if this is universal.
Is there a way for the button's onDown event to be triggered only when I pressed on top of it, not when I pressed somewhere else and dragged over it?
(using flixel 4.0.0 (probably). Tested this on neko and android, they exhibit the same behaviour)
-
-
Ah that's it, haha. Thanks man.