KeyInput(number, number, string)
client
Arguments
Returns
- unknown boolean (return false to prevent the engine from handling the key
- unknown true to allow and override default behavior)
Note: Returning is not required
Returning from hooks is not required. Only do so if you mean to override behaviour. The first hook that returns a value will be the final value, skipping all following hooks.
Examples
hook KeyInput – "Called when a key is pressed"