Canvas()
Browser availability: desktop-only.
This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.
What a layer drawer draws with: it records into the draw list, nothing is drawn at once and no OpenGL is exposed. Coordinates are those of the layer: world coordinates (Scratch's, y up) for the world layers, stage coordinates for the UI layer and the overlay. Game thread only, and only during the drawer's call.