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 Cardinal
(
ECursorMoveGranularity Granularity,
FIntPoint Direction,
ECursorAction Action
)
Remarks
Creates a MoveCursor action that describes moving by a single character in any of the cardinal directions.
Parameters
| Name | Description |
|---|---|
| Granularity | Move one character at a time, or on word boundaries (e.g. Ctrl is held down, or double-click mouse+drag) |
| Direction | Axis-aligned unit vector along which to move. e.g. Move right: (0,1) or Move Up: (-1, 0) |
| Action | Just move or also select text? |