Navigation
API > API/Runtime > API/Runtime/Engine
| Name | EMouseLockMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h |
| Include Path | #include "Engine/EngineBaseTypes.h" |
Syntax
enum EMouseLockMode
{
DoNotLock,
LockOnCapture,
LockAlways,
LockInFullscreen,
}
Values
| Name | Remarks |
|---|---|
| DoNotLock | Do not lock the mouse cursor to the viewport |
| LockOnCapture | Only lock the mouse cursor to the viewport when the mouse is captured |
| LockAlways | Always lock the mouse cursor to the viewport |
| LockInFullscreen | Lock the cursor if we're in fullscreen |