Patches

Scroll Settings

Scroll Settings

Customize a Scroll patch's behavior.

Scroll Settings

  • Content Size
  • Bounds Size
  • Direction Locking
  • Page Size
  • Page Padding
  • Scrolling Friction
  • Rubber Band Tension
  • Rubber Band Friction
  • Jump Style
  • Jump to X
  • Jump X Position
  • Jump to Y
  • Jump Y Position
  • Settings

Content Size

The width and height of the layer to be scrolled. Defaults to the size of the layer selected in the accompanying Scroll patch.

Bounds Size

The width and height of the container in which the layer is scrolled. Defaults to the size of the parent group of the layer selected in the accompanying Scroll patch. If the layer does not have a parent group, it defaults to the size of the device.

Direction Locking

A boolean that is true when scrolling is locked to the initial direction a user scrolls it per touch.

Page Size

The width and/or height of a page when the Scroll patch is set to Paging. The page will be centered in the bounds. Only needs to be defined in the axis that the Scroll patch is paging (ex: only page width is required for a Paging X Scroll). Ensure the layer being scrolled is divisible by the page size and padding.

Page Padding

The padding between each page when the Scroll patch is set to Paging. Only needs to be defined in the axis that the Scroll patch is paging (ex: only padding width is required for a Paging X Scroll).

Scrolling Friction

A number between 1-100 that represents the friction that slows down the layer when flicked.

Rubber Band Tension

A number between 10-1000 that represents the speed the layer returns to the scroll boundaries when dragged and released beyond the boundaries.

Rubber Band Friction

A number between 10-1000 that represents the friction that slows down the layer when returning to the scroll boundaries after being released beyond the boundaries.

Jump Style

The jump style (animated or instant).

Jump to X

A pulse that jumps the Scroll X position.

Jump X Position

The X position to jump to.

Jump to Y

A pulse that jumps the Scroll Y position.

Jump Y Position

The Y position to jump to.

Settings

The settings to pass to a Scroll patch.