Synced
ImGui.IsMouseButtonDown
Section titled “ImGui.IsMouseButtonDown”
- Gets whether a mouse button is held in the current Editor UI frame, including input consumed by UI controls.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public static bool InnoEditor.ImGui.ImGui.IsMouseButtonDown(InnoEditor.ImGui.ImGuiMouseButton button = InnoEditor.ImGui.ImGuiMouseButton.Left)Parameters
Section titled “Parameters”Parameter button: The UI mouse button to query.
Returns
Section titled “Returns”True while the button is held; callers must also check their item’s active or hovered state before editing.