Sprite flip

How can i flip sprites horizantally? Like that. Is there a function or should i use 2 sprites?

Use a negative width to flip on the x scale or a negative height to flip on the y scale.

function draw()
    background(40, 40, 50)
    sprite("SpaceCute:Beetle Ship",100,400,100,100)  -- normal
    sprite("SpaceCute:Beetle Ship",300,400,-100,100)  -- flip on x 
    sprite("SpaceCute:Beetle Ship",300,200,100,-100)  -- flip on y

Got lt. Thank you :slight_smile: