Draw Line

Draw Line

Choose your operating system:

Windows

macOS

Linux

Draws a 2D line on the HUD.

Target is HUD

Draw Line
Target
Start Screen X
Start Screen Y
End Screen X
End Screen Y
Line Color
Line Thickness

Inputs

In
Exec
Target
HUD Object Reference
Start Screen X
Float (single-precision)

Screen-space X coordinate of start of the line.

Start Screen Y
Float (single-precision)

Screen-space Y coordinate of start of the line.

End Screen X
Float (single-precision)

Screen-space X coordinate of end of the line.

End Screen Y
Float (single-precision)

Screen-space Y coordinate of end of the line.

Line Color
Linear Color Structure

Color to draw line

Line Thickness
Float (single-precision)

Thickness of the line to draw

Outputs

Out
Exec