API reference
Preparing search index…

ImGui.GetCursorPosX

  • Read the layout cursor's X coordinate in window-local space.

    Returns

    number

    Current layout cursor coordinate on the selected axis in window-local pixels.

    Coordinates are relative to the current window. Prefer GetCursorScreenPos() and SetCursorScreenPos() when working with screen-space drawing.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0