Navigation
API > API/Plugins > API/Plugins/SlateInspectorToolset > API/Plugins/SlateInspectorToolset/USlateInspectorToolset
Description
Press and release a keyboard key on the currently focused Slate widget. Supports modifier prefixes: "Ctrl+C", "Shift+1".
| Name | PressKey |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Toolsets/SlateInspectorToolset/Source/SlateInspectorToolset/Public/SlateInspectorToolset.h |
| Include Path | #include "SlateInspectorToolset.h" |
| Source | /Engine/Plugins/Experimental/Toolsets/SlateInspectorToolset/Source/SlateInspectorToolset/Private/SlateInspectorToolset.cpp |
UFUNCTION (Meta=(AICallable), Category="SlateInspectorToolset")
static bool PressKey
(
const FString & Key
)
Parameters
| Name | Remarks |
|---|---|
| Key | Key name with optional modifiers, e.g. "Enter", "Ctrl+A", "Shift+Tab". |