YoYo Games Wiki

draw_surface_tiled(id,x,y)

From YoYoGames Wiki

Description

This function draws a surface with the given ID on the screen in the position x,y tiled to that it will fill the entire room.

Arguments

  • id (real): name of the variable which holds the ID of the surface (see surface_create).
  • x (real): Left position of surface to be tiled.
  • y (real): Top position of surface to be tiled.

Remarks

This function must be called in the draw event.

See Also

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