The following code renders a sprite and a solid with an alpha. But the solid renders below the sprite. How do I get the solid to render above the sprite?
def tick args
args.outputs.sprites << {
x: 100,
y: 100,
w: 50,
h: 60,
path: 'sprites/square-red.png'
}
args.outputs.solids << {
x: 0,
y: 0,
w: 1280,
h: 720,
r: 80,
g: 80,
b: 80,
a: 128
}
end