Atomic docs

imgui.IsKeyDown

imgui.IsKeyDown(key: number): boolean

Whether a key from imgui.Key is held.

Example

lua
if imgui.IsKeyDown(imgui.Key.LeftShift) then
    imgui.Text("shift")
end
↑