Get Viewport Size

Get Viewport Size

Choose your operating system:

Windows

macOS

Linux

Gets the size of the game viewport.

Target is Widget Layout Library

Get Viewport Size
Return Value
X0.0
Y0.0

Inputs

Outputs

Return Value
Vector 2D Structure

Gets the size of the game viewport.