ICursor::Lock

Locks the cursor to the passed in bounds

Windows
MacOS
Linux

Override Hierarchy

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/ICursor.h

Include

#include "GenericPlatform/ICursor.h"

Syntax

void Lock
(
    const RECT *const Bounds
)

Remarks

Locks the cursor to the passed in bounds

Parameters

Parameter

Description

Bounds

The bounds to lock the cursor to. Pass NULL to unlock.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss