Image:set() crash

Hey guys :slight_smile:
I have not tested this out on version 1.4.3 yet, but when I run this code, Codea crashes. :(. Can anyone tell me what I’m doing wrong?

    pauseButton = image(32, 32)
    for x = 1, 32 do
        pauseButton:set(x, 1, 255, 255, 255, 255)
        if x <= 2 or x >= 31 then
            for y = 3, 30 do
                pauseButton:set(x, y, 255, 255, 255, 255)
            end
        end
        if x > 8 and x < 14 or x > 19 and x < 25 then
            for y = 8, 25 do
                pauseButton:set(x, y, 255, 255, 255, 255)
            end
        end
    end

Thanks
Jordan

hi, I’ve tried it alone in an empty project, codea 1.4.2, and it works correctly… and it shows correctly if I used it as a sprite image.