FSlateApplication::SetCursorPos

Sets the position of the cursor.

Windows
MacOS
Linux

Override Hierarchy

FGenericApplicationMessageHandler::SetCursorPos()

FSlateApplication::SetCursorPos()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

virtual void SetCursorPos
(
    const FVector2D & MouseCoordinate
)

Remarks

Sets the position of the cursor.

Parameters

Parameter

Description

MouseCoordinate

The new position.

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