Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Gets whether a mouse button is held in the current Editor UI frame, including input consumed by UI controls.

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

public static bool InnoEditor.ImGui.ImGui.IsMouseButtonDown(InnoEditor.ImGui.ImGuiMouseButton button = InnoEditor.ImGui.ImGuiMouseButton.Left)

Parameter button: The UI mouse button to query.

True while the button is held; callers must also check their item’s active or hovered state before editing.