class flixel.input.touch.FlxTouchManager implements IFlxInput

Available on all platforms

... * @author Zaphod

Class Fields

static var maxTouchPoints:Int

The maximum number of concurrent touch points supported by the current device.

Instance Fields

var list:Array<FlxTouch>

All active touches including just created, moving and just released.

function destroy():Void

Clean up memory. Internal use only.

function getByID(TouchPointID:Int):FlxTouch

WARNING: can be null if no active touch with the provided ID could be found

function getFirst():FlxTouch

Return the first touch if there is one, beware of null

function justReleased(?TouchArray:Array<FlxTouch> = null):Array<FlxTouch>

Gets all touches which were just ended * *

TouchArray

Optional array to fill with touch objects *

returns

Array with touches

function justStarted(?TouchArray:Array<FlxTouch> = null):Array<FlxTouch>

Gets all touches which were just started * *

TouchArray

Optional array to fill with touch objects *

returns

Array with touches

function reset():Void

Resets all touches to inactive state.