DrawLine||doc136453

September 20, 2022

Format

Debug:DrawLine(startPos, endPos, color, duration)

Describe

Draw line segments in the game

parameter

Variable name Type Describe
startPos Vector3 Starting point of line segment
endPos Vector3 End of line segment
color Color3 Segment color, red by default
duration int The number of continuous frames of the line segment is 20 frames by default