FReply::CaptureMouse

An event should return a [FReply::Handled()](API\Runtime\SlateCore\Input\FReply\Handled).CaptureMouse( SomeWidget ) as a means of asking the system to forward all mouse events to SomeWidget

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/Reply.h

Include

#include "Input/Reply.h"

Syntax

FReply & CaptureMouse
(
    TSharedRef< SWidget > InMouseCaptor
)

Remarks

An event should return a FReply::Handled().CaptureMouse( SomeWidget ) as a means of asking the system to forward all mouse events to SomeWidget

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