draw_point

Draws a single pixel.

Syntax:

GML Code Example

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:

GML Code Example

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

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





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here