Sprite:with
methodSprite:with(opts?: image.SpriteOptions) -> SpriteReturn a copy of this appearance with the given overrides applied.
-- Each copy changes only what it sets.
local left = sprite:with({ flip_x = true })
local big = sprite:with({ size = datumhue.math.vec2(64, 64) })
canvas:sprite(left, { pos = vec3(-60, 0, 0) })
canvas:sprite(big, { pos = vec3(60, 0, 0) })opts image.SpriteOptions options 4 keys Omitted keys keep their current value.