FReply::SetMousePos

An event should return [FReply::Handled()](API\Runtime\SlateCore\Input\FReply\Handled).SetMousePos to ask Slate to move the mouse cursor to a different location

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Input/Reply.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Input/Reply.cpp

Syntax

FReply & SetMousePos
(
    const FIntPoint & NewMousePos
)

Remarks

An event should return FReply::Handled().SetMousePos to ask Slate to move the mouse cursor to a different location

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