`
local spritesheet -- a tilemap, assume I loaded an image here
local Frame = 0
local GridSize = 24
function pd.update()
spritesheet:getImage(1):drawRotated(Frame, GridSize, -90)
Frame = (Frame + 1) % 50
end
`
It cuts the image off, but cuts off the visible side instead of the invisible side