Key Prompts
Library
Updated 2 months ago ·
v1.3.7lib.showKeys
| Field | Type | Required | Description |
|---|---|---|---|
| position | string | table | yes | Overlay position |
| direction | string | no | row, column, row-reverse, column-reverse |
| inputs | table[] | yes | Key prompt entries |
Input Entry Fields
| Field | Type | Required | Description |
|---|---|---|---|
| key | string | yes | Control key name/code (string form) |
| label | string | yes | Prompt label |
| icon | string | yes | Prompt icon |
| action | function | no | Callback when pressed |
| clientEvent | string | no | Trigger client event when pressed |
| serverEvent | string | no | Trigger server event when pressed |
| export | string | no | Call an export when pressed |
| args | table | no | Arguments for event/export |
| delay | number | no | Hold/delay value |
| canInteract | function | no | Dynamically hide/disable input |
lib.hideKeys
lib.isKeysOpen
Was this page helpful?
This page was last updated on 12 March 2026