Phaser API Documentation

  Version: 
translate(x, y)

Description:

Translate the Matrix.

Parameters:

name type description
x number

The horizontal translation value.

y number

The vertical translation value.

Returns:
Description:

This TransformMatrix.

Examples: