YoYo Games Wiki

draw_point_color(x,y,col)

From YoYoGames Wiki

Description

This function will draw a point (pixel) in the specified colour (col) on the playing area. col can be one of the in built colors or you can specify the exact color in one of the ways outlined in draw_set_color.

Arguments

  • x (real): Horizontal position (in pixels) in the room
  • y (real): Vertical position (in pixels) in the room
  • col (real): The colour of the point to be placed.

Remarks

This function can only be called in the Draw Event or used with Surfaces.

See Also

Content from GMKB, was used to expand this article. The content was contributed by nickydude.