drawSprite(opt: DrawSpriteOpt): void

Draw a sprite.

paramopt- The draw sprite options.

drawSprite({
    sprite: "bean",
    pos: vec2(100, 200),
    frame: 3,
});

sincev2000.0