Skip to content

raylib.DrawLine

JoeStrout edited this page Apr 29, 2026 · 3 revisions

Draw a line (using gl lines)

Parameters

Parameter Default Value Note
startPosX 0
startPosY 0
endPosX 0
endPosY 0
color WHITE

Return value

None.

Notes

Example

raylib.DrawLine 50, 50, 350, 250, raylib.WHITE

Clone this wiki locally