Phaser API Documentation

  Version: 
fillPoint(x, y, [size])

Description:

Fill a point at the given position.

Draws a square at the given position, 1 pixel in size by default.

Parameters:

name type arguments Default description
x number

The x coordinate of the point.

y number

The y coordinate of the point.

size number <optional> 1

The size of the square to draw.

Returns:
Description:

This Game Object.

Since: 3.0.0