Input Widgets
SF includes an input key prompt "Master Widget" named InputKey_W
to display inputs inside of SF's different user interfaces. This gets paired with a Data Table named InputMap_DT
to find and display specified text or icons depending on the "target key". This includes support for dynamically changing icons and text when a gamepad/controller is used. This section below will cover how these InputKey_W
widget blueprints are used inside SF, and how they can be used inside your own widgets to display key prompts when needed.
An input key prompt can be added to any widget of your liking by searching for "Input Key" from the "Palatte" in the top-left hand side of the editor (where you would normally add new elements to your widget).

Once this element has been created, you can edit the following parameters with that same widget selected in the details panel.
— Keyboard/Gamepad Key Key Structure
- Set the key or button to display on this input prompt.
— Text Size Int
- Define the size of the text on this input prompt.
— Background Image Size Float
- Set the size of the background image behind the input key text (Should increase relative to the Text Size
value).
Now that you have set up an input key widget, you will need to define the key and its styles inside the InputMap_DT
Data Table

Each entry in this Data Table consists of the following values to modify.
— Target Key Key Structure
- The input associated with these styling options. This value is searched for through all entries inside this Data Table to update the input key widget with the following information.
— Key Display Name Text
- The text to display on your input key widget for this input.
— Key Use Icon Slate Brush
- Changing these values will use your given image instead of any text. Useful for gamepad keys or keys such as arrows.
— General Key Background Texture2D
- Set the background image behind your Key Display Name
text if a Key Use Icon
image is not used.
Once your keys' style has been set up here, your input prompt widget should now update to use these settings.
Last updated