Patches

Scrollaway

Scrollaway

Calculate the progress off a scrollaway navigation element.

Scrollaway

  • Scroll Position
  • Scrollaway Offset
  • Bottom Bound
  • Top Bound
  • Progress

Scroll Position

The current scroll position from a Scroll patch.

Scrollaway Offset

The offset the element should be scrolled away by.

Bottom Bound

A number that represents the lowest bound of the Scroll (ex: -1500). Get this by scrolling the layer to the top and looking at the Scroll position. Used to limit the scrollaway effect within a certain range.

Top Bound

A number that represents the highest bound of the Scroll (ex: 1500). Get this by scrolling the layer to the bottom and looking at the Scroll position. Used to limit the scrollaway effect within a certain range.

Progress

A number from 0-1 that represents the progress of the scrollaway. Connect to Transition patches to convert it to the position, scale, opacity or any other property.