drawLine(opt: DrawLineOpt): void
Draw a line.
param
opt- The draw line options.
drawLine({
p1: vec2(0),
p2: mousePos(),
width: 4,
color: rgb(0, 0, 255),
});
since
v3000.0
group
Draw
Draw a line.
param
opt- The draw line options.
drawLine({
p1: vec2(0),
p2: mousePos(),
width: 4,
color: rgb(0, 0, 255),
});
since
v3000.0
group
Draw
Assets
Game Obj
Components
Component Types
Scene
Input
Events
Info
Math
Misc
Button Bindings
GFX
Draw
Layer
Camera
Layers
Level
Plugins