Phaser API Documentation

  Version: 
getY(x, y)

Description:

Returns the Y component of this matrix multiplied by the given values. This is the same as x * b + y * d + f.

Parameters:

name type description
x number

The x value.

y number

The y value.

Returns:
Description:

The calculated y value.

Type:
  • number
Examples:
Since: 3.12.0