With this function you can draw a single pixel anywhere on the screen.
draw_point(x, y);
| Argument | Description |
|---|---|
| x | The x coordinate of the point to be drawn. |
| y | The y coordinate of the point to be drawn. |
N/A
draw_set_colour(c_yellow);
draw_point(100,100);
This will draw a yellow pixel at position (100,100).