Module function reference

is_drawing

A reference entry for is_drawing

Module function · Graphics

is_drawing (number window) ⇒ boolean

YASS
if(Graphics::is_drawing($window))
  Graphics::draw_rectangle($window, 0, 0, 0.5, 0.5, "#517")
end if

Returns whether the graphics window is available for drawing.