Progetto H — Riferimento API Documentazione & Scripting
Evento Client

Input.KeyDown

A keyboard key is being pressed

Non ancora tradotto

Sintassi

Lua
Input.Subscribe("KeyDown", function(key_name, delta)
    -- il tuo codice
end)

Argomenti

Nome Tipo Predefinito Descrizione
key_name string The key pressed
delta facoltativo float? The amount depressed in case of this is an Axis input

Valore restituito

  • boolean Return false to block it