imgui.IsKeyDown
imgui.IsKeyDown(key: number): boolean
Whether a key from imgui.Key is held.
Example
if imgui.IsKeyDown(imgui.Key.LeftShift) then
imgui.Text("shift")
endWhether a key from imgui.Key is held.
if imgui.IsKeyDown(imgui.Key.LeftShift) then
imgui.Text("shift")
end