Static variables
staticmaxTouchPoints:Int = 0
The maximum number of concurrent touch points supported by the current device.
Variables
Methods
inlinegetByID(TouchPointID:Int):FlxTouch
WARNING: can be null if no active touch with the provided ID could be found
justReleased(?TouchArray:Array<FlxTouch>):Array<FlxTouch>
Gets all touches which were just ended
Parameters:
TouchArray | Optional array to fill with touch objects |
---|
Returns:
Array with touches
justStarted(?TouchArray:Array<FlxTouch>):Array<FlxTouch>
Gets all touches which were just started
Parameters:
TouchArray | Optional array to fill with touch objects |
---|
Returns:
Array with touches