Get Viewport Size

Get Viewport Size

Choose your operating system:

Windows

macOS

Linux

Helper to get the size of the HUD canvas for this player controller. Returns 0 if there is no HUD

Target is Player Controller

Get Viewport Size
Target
Size X
0
Size Y
0

Inputs

Target
Player Controller Object Reference

Outputs

Size X
Integer
Size Y
Integer