FVector2D Result = FVector2D; if (GEngine && GEngine->GameViewport) { GEngine->GameViewport->GetViewportSize(Result); }