Clipping regions

Feature Request: I would love to see support for clipping regions in Codea. Something along the lines of setScissor in Löve2d.

Right now if I were to have a score/status area at the top of the screen over a slowly scrolling tilemap, I need to put up a bar at the top of the screen to hide the very top of the tiles. While this is doable, sometimes it is a little inconvenient. It would be cleaner if I could just specify the clipping rectangle when drawing the tilemap, and not have to worry about hiding anything

try the command

Ah what do you know. Never mind :wink: