With this function you can draw a single pixel anywhere on the screen, using the currently set draw colour and alpha.
draw_point(x, y);
Argument | Type | Description |
---|---|---|
x | Real | The x coordinate of the point to be drawn. |
y | Real | 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).