I’m trying to determine whether the mouse is inside the current viewport of the window so that I can disable edge-of-screen scrolling when this occurs (it’s something like an RTS game). I’m calling APlayerController::GetMousePosition(), but the X and Y coords it returns appear to already be clamped inside the viewport.
I’m not seeing any functionality to get the raw, unclamped position, or simply to return whether or not the mouse pointer is outside the viewport. How do I do this?