API reference
Preparing search index…

ImGui.GetScrollX

  • Get the horizontal scroll offset.

    Returns

    number

    Current scroll offset along the selected axis in pixels.

    • Any change of Scroll will be applied at the beginning of next frame in the first call to Begin().

    • You may instead use SetNextWindowScroll() prior to calling Begin() to avoid this delay, as an alternative to using SetScrollX()/SetScrollY().

    get scrolling amount [0 .. GetScrollMaxX()]

    Source & inheritance

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