drawLine(options: DrawLineOpt): void

Draw a line.
drawLine({
    p1: vec2(0),
    p2: mousePos(),
    width: 4,
    color: rgb(0, 0, 255),
})
kaplay logo

Misc