Phaser API Documentation

  Version: 
setTo([x], [y], [radius])

Description:

Sets the x, y and radius of this circle.

Parameters:

name type arguments description
x number <optional>

The x position of the center of the circle.

y number <optional>

The y position of the center of the circle.

radius number <optional>

The radius of the circle.

Returns:
Description:

This Circle object.

Inherited from: Phaser.Geom.Circle#setTo
Since: 3.0.0