Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Checks a presentation-key press with explicit repeat policy.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public static bool InnoEditor.ImGui.ImGui.IsKeyPressed(InnoEditor.ImGui.ImGuiKey key, bool repeat = true)

Parameter key: The presentation key to inspect.

Parameter repeat: Whether a held key or button may produce repeats.

True when the documented control event or condition is present; otherwise false.