HoverPointerAction.holdScroll

Hold the scroll control in place. This makes it possible to continue scrolling a single node while moving the cursor, which is commonly the scrolling behavior of touchscreens.

The hold status will be reset after a frame.

  1. HoverPointerAction holdScroll(Vector2 motion, bool value)
    class HoverPointerAction
    return
    holdScroll
    (,
    bool value = true
    )
  2. HoverPointerAction holdScroll(float x, float y, bool value)

Meta