FSlateApplicationBase::GetCursorPos

Gets the current position of the cursor.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FSlateApplicationBase::GetCursorPos()

FSlateApplication::GetCursorPos()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h

Include

#include "Application/SlateApplicationBase.h"

Syntax

FVector2D GetCursorPos() const

Remarks

Gets the current position of the cursor.

Returns

Cursor position.