drawLine(opt: DrawLineOpt): void

Draw a line.

paramopt- The draw line options.

drawLine({
    p1: vec2(0),
    p2: mousePos(),
    width: 4,
    color: rgb(0, 0, 255),
});

sincev3000.0

kaplay logo

Misc

Layer