unreal.MouseLockMode

class unreal.MouseLockMode

Bases: unreal.EnumBase

EMouse Lock Mode

C++ Source:

  • Module: Engine

  • File: EngineBaseTypes.h

DO_NOT_LOCK

Do not lock the mouse cursor to the viewport

Type

0

LOCK_ALWAYS

Always lock the mouse cursor to the viewport

Type

2

LOCK_IN_FULLSCREEN

Lock the cursor if we’re in fullscreen

Type

3

LOCK_ON_CAPTURE

Only lock the mouse cursor to the viewport when the mouse is captured

Type

1