FStylusState::GetPosition

The current position of the stylus on (or above) the tablet.

Windows
MacOS
Linux

References

Module

StylusInput

Header

/Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/IStylusState.h

Include

#include "IStylusState.h"

Syntax

FVector2D GetPosition() const

Remarks

The current position of the stylus on (or above) the tablet. Always valid. This value is in logical coordinates, not pixels. The mouse position can be used to retrieve the screenspace value. A value of (0,0) is in the top-left of the tablet.

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