Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Input > FReply
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Input/Reply.h |
Include | #include "Input/Reply.h" |
FReply & LockMouseToWidget
(
TSharedRef < SWidget > InWidget
)
Remarks
An event should return FReply::Handled().LockMouseToWidget( SomeWidget ) as a means of asking the system to Lock the mouse so it cannot move out of the bounds of the widget.