Available since

4.6.0

.

Variables

inputs:Array<FlxActionInput>

The inputs attached to this action

read onlyname:String

The name of the action, "jump", "fire", "move", etc.

@:value(false)read onlysteamOriginsChanged:Bool = false

Whether the steam controller inputs for this action have changed since the last time origins were polled. Always false if steam isn't active

@:value(false)read onlytriggered:Bool = false

If true, this action has just been triggered

read onlytype:FlxInputType

Digital or Analog

Methods

check():Bool

See if this action has just been triggered

@:value({ Destroy : false })remove(Input:FlxActionInput, Destroy:Bool = false):Void

@:value({ Destroy : true })removeAll(Destroy:Bool = true):Void

update():Void

Check input states & fire callbacks if anything is triggered