Phaser API Documentation

  Version: 
moveTo(x, y)

Description:

Move the current drawing position to the given position.

Parameters:

name type description
x number

The x coordinate to move to.

y number

The y coordinate to move to.

Returns:
Description:

This Game Object.

Since: 3.0.0