drawSprite(options: DrawSpriteOpt): void

Draw a sprite.
drawSprite({
    sprite: "bean",
    pos: vec2(100, 200),
    frame: 3,
})
kaplay logo