Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Text > API/Runtime/Slate/Widgets/Text/FMoveCursor
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 |
static FMoveCursor ViaScreenPointer
&40;
FVector2D LocalPosition,
float GeometryScale,
ECursorAction Action
&41;
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
| Name | 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? |