FMoveCursor::ViaScreenPointer

Creates a MoveCursor action that describes moving the text cursor by selecting an arbitrary coordinate on the screen.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Text/ISlateEditableTextWidget.h

Include

#include "Widgets/Text/ISlateEditableTextWidget.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Text/ISlateEditableTextWidget.cpp

Syntax

static FMoveCursor ViaScreenPointer
(
    FVector2D LocalPosition,
    float GeometryScale,
    ECursorAction Action
)

Remarks

Creates a MoveCursor action that describes moving the text cursor by selecting an arbitrary coordinate on the screen. e.g. User user touches a touch device screen or uses the mouse to point at text.

Parameters

Parameter

Description

LocalPosition

Position in the text widget where the user wants to move the cursor by pointing

GeometryScale

DPI Scale of the widget geometry.

Action

Just move or also select text?

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