draw_point


Description

With this function you can draw a single pixel anywhere on the screen.


Syntax:

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.


Returns:

N/A


Example:

draw_set_colour(c_yellow);
draw_point(100,100);

This will draw a yellow pixel at position (100,100).