Lua:setGlobalDelayBetweenHotkeyActivation
Revision as of 04:04, 21 June 2026 by Leunsel (talk | contribs) (Created page with "Category:Lua {{CodeBox|'''function''' setGlobalDelayBetweenHotkeyActivation(''delay'') ''':''' void}} Sets the minimum delay between activations of the same hotkey in mil...")
Sets the minimum delay between activations of the same hotkey in milliseconds.
This affects all hotkeys that do not define their own minimum delay.
Function Parameters
| Parameter | Type | Description |
|---|---|---|
| delay | Integer | The minimum delay in milliseconds between activations of the same hotkey. |
Returns
void — This function does not return any value.
Examples
-- Require at least 500 milliseconds between activations of the same hotkey setGlobalDelayBetweenHotkeyActivation(500) -- Require at least 1000 milliseconds between activations of the same hotkey setGlobalDelayBetweenHotkeyActivation(1000)