Skip to main content
Version: Phaser v3.88.2

Phaser.Types.Input

Scope: static

Source: src/input/typedefs/index.js#L7

Static functions​

Static functions​

EventData​

EventData​

Description:

A Phaser Input Event Data object.

This object is passed to the registered event listeners and allows you to stop any further propagation.

Source: src/input/typedefs/EventData.js#L7
Since: 3.15.1


HitAreaCallback​

HitAreaCallback​

Parameters:

nametypeoptionaldescription
hitAreaanyNoThe hit area object.
xnumberNoThe translated x coordinate of the hit test event.
ynumberNoThe translated y coordinate of the hit test event.
gameObjectPhaser.GameObjects.GameObjectNoThe Game Object that invoked the hit test.

Returns: boolean - true if the coordinates fall within the space of the hitArea, otherwise false.

Source: src/input/typedefs/HitAreaCallback.js#L1
Since: 3.0.0


InputConfiguration​

InputConfiguration​

Source: src/input/typedefs/InputConfiguration.js#L1
Since: 3.0.0


InputPluginContainer​

InputPluginContainer​

Source: src/input/typedefs/InputPluginContainer.js#L1
Since: 3.0.0


InteractiveObject​

InteractiveObject​

Source: src/input/typedefs/InteractiveObject.js#L1
Since: 3.0.0