YoYo Games Wiki

draw_vertex_color(x,y,col,alpha)

From YoYoGames Wiki

Description

An extended version of draw_vertex() that also has a blending color and an alpha value.

Arguments

  • x (real): The x position of the vertex.
  • y (real): The y position of the vertex.
  • col (real): The color of the vertex.
  • alpha (real): The alpha value of the vertex.

Remarks

This function requires a registered version of Game Maker.

This function should be used in the Draw event or with surfaces.

See also