View source
class FlxActionInputDigitalMouse
package flixel.input.actions
extends FlxActionInputDigital › FlxActionInput
import flixel.input.actions.FlxActionInputDigital
Available since
4.6.0
.Constructor
new(ButtonID:FlxMouseButtonID, Trigger:FlxInputState)
Mouse button action input
Parameters:
ButtonID | Button identifier (FlxMouseButtonID.LEFT / MIDDLE / RIGHT) |
---|---|
Trigger | What state triggers this action (PRESSED, JUST_PRESSED, RELEASED, JUST_RELEASED) |