Get Desired Size

Get Desired Size

Windows
MacOS
Linux

Gets the widgets desired size. NOTE: The underlying Slate widget must exist and be valid, also at least one pre-pass must have occurred before this value will be of any use.

Target is Widget

Get Desired Size
Target
Select Asset
Return Value
X0.0
Y0.0

Inputs

Target
Widget Object Reference

Outputs

Return Value
Vector 2D Structure

The widget's desired size

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