Draw Line

Draw Line

Windows
MacOS
Linux

Draws a 2D line on the HUD.

Target is HUD

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

Inputs

In
Exec
Target
HUD Object Reference
Start Screen X
Float

Screen-space X coordinate of start of the line.

Start Screen Y
Float

Screen-space Y coordinate of start of the line.

End Screen X
Float

Screen-space X coordinate of end of the line.

End Screen Y
Float

Screen-space Y coordinate of end of the line.

Line Color
Linear Color Structure

Color to draw line

Line Thickness
Float

Thickness of the line to draw

Outputs

Out
Exec
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss