Phaser API Documentation

  Version: 
setY([value])

Description:

Sets the y position of this Game Object.

Parameters:

name type arguments description
value number <optional>

The y position of this Game Object.

Returns:
Description:

This Game Object instance.

Since: 3.0.0