Fill a point at the given position.
Draws a square at the given position, 1 pixel in size by default.
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. |
This Game Object.