FSlateApplication::GetCursorPos

Gets the current position of the cursor.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::GetCursorPos()

FSlateApplication::GetCursorPos()

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 FVector2D GetCursorPos() const

Remarks

Gets the current position of the cursor.

Returns

Cursor 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