Lua:setGlobalDelayBetweenHotkeyActivation

From Cheat Engine
Revision as of 20:18, 25 June 2026 by Leunsel (talk | contribs) (Syntax Highlighting.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<> Lua API Reference

function setGlobalDelayBetweenHotkeyActivation(delay) : void

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

1 -- Require at least 500 milliseconds between activations of the same hotkey
2 setGlobalDelayBetweenHotkeyActivation(500)
3 
4 -- Require at least 1000 milliseconds between activations of the same hotkey
5 setGlobalDelayBetweenHotkeyActivation(1000)

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Mouse Related Functions

Keyboard Related Functions

Global Hotkey Related Functions