Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Ellipse

setPosition(x, y)

Description:

Sets the position of this Ellipse.

Parameters:

name type description
x number

The x position of the center of the ellipse.

y number

The y position of the center of the ellipse.

Returns:
Description:

This Ellipse object.

Since: 3.0.0