enum
InputManager::ECursorConfine
Cursor confinement (separate from BOTH).
- Module
- Input
- Header
#include "Input/InputManager.h"- Namespace
Mowo
The lock above takes the cursor into relative mode, which confines it as a side effect — so a mouse-look game was covered and nothing else was. A game that keeps a VISIBLE cursor (a strategy camera, a twin-stick, a drag across an inventory) had no way to stop that cursor leaving the window, and in windowed mode on two monitors the next click lands in another application. UE calls this the mouse LOCK MODE; this is the same axis, named for what it does.
Values
| Name | Value | Description |
|---|---|---|
Never | 0 | the cursor may leave the window |
WhileCaptured | only while the game holds the cursor lock (relative mode confines anyway — this just makes it explicit) | |
Always | confine whenever the window has focus, visible cursor included |
Generated from Input/InputManager.h via input.json · Nov 2, 2026Version 1.0.0