Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Input/Reply.h |
Include |
#include "Input/Reply.h" |
FReply & LockMouseToWidget
(
TSharedRef< SWidget > InWidget
)
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.