UWidgetLayoutLibrary::GetMousePositionOnPlatform

Gets the platform's mouse cursor position. This is the 'absolute' desktop location of the mouse.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetLayoutLibrary.h

Include

#include "Blueprint/WidgetLayoutLibrary.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetLayoutLibrary.cpp

Syntax

static FVector2D GetMousePositionOnPlatform()

Remarks

Gets the platform's mouse cursor position. This is the 'absolute' desktop location of the mouse.

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