Draws a single pixel in a given colour.


GML Code Example

draw_point_colour(x, y, col1);

Argument Description
x The x coordinate of the point.
y The y coordinate of the point.
col1 The colour of the point.

Returns: N/A


With this function you can draw a single pixel anywhere on the screen with a colour that you define. The colour settings will over-ride the base colour set with the function draw_set_colour.


GML Code Example

draw_point_colour(50, 50, c_red);

This would draw a red pixel at (50,50).

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