draw_point

Draws a single pixel.

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


Description

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


Example:

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

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


Back: Drawing Basic Forms
Next: draw_point_colour
© Copyright YoYo Games Ltd. 2018 All Rights Reserved