pushTranslate(x: number, y: number): void

Translate all subsequent draws.
pushTranslate(100, 100)

// this will be drawn at (120, 120)
drawText({
    text: "oh hi",
    pos: vec2(20, 20),
})
kaplay logo

3001.0.0-alpha.18

Misc