Phaser API Documentation

  Version: 
transformX(pageX)

Description:

Transforms the pageX value into the scaled coordinate space of the Scale Manager.

Parameters:

name type description
pageX number

The DOM pageX value.

Returns:
Description:

The translated value.

Type:
  • number
Since: 3.16.0