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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback