Draw Rect

Draw Rect

Windows
MacOS
Linux

Draws a colored untextured quad on the HUD.

Target is HUD

Draw Rect
Target
Rect Color
Screen X
0.0
Screen Y
0.0
Screen W
0.0
Screen H
0.0

Inputs

In
Exec
Target
HUD Object Reference
Rect Color
Linear Color Structure

Color of the rect. Can be translucent.

Screen X
Float

Screen-space X coordinate of upper left corner of the quad.

Screen Y
Float

Screen-space Y coordinate of upper left corner of the quad.

Screen W
Float

Screen-space width of the quad (in pixels).

Screen H
Float

Screen-space height of the quad (in pixels).

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