View source
class FlxActionInputAnalogMousePosition
package flixel.input.actions
extends FlxActionInputAnalog › FlxActionInput
import flixel.input.actions.FlxActionInputAnalog
Available since
4.6.0
.Constructor
new(Trigger:FlxAnalogState, Axis:FlxAnalogAxis = EITHER)
Mouse input -- X/Y is the mouse's absolute screen position
Parameters:
Trigger | What state triggers this action (MOVED, JUST_MOVED, STOPPED, JUST_STOPPED) |
---|---|
Axis | which axes to monitor for triggering: X, Y, EITHER, or BOTH |