Messenger Icon

Scroll Trigger

With Scroll Trigger, Animations belonging to the parent timeline start when the user scrolls down/up the elements

Timeline Control Setup

To begin, choose “Scroll” Trigger in your Timeline Control Tab
A bunch of functions and options appear correspondingly to configure

litemove-scroll

Trigger element selector

Trigger element selector You either type directly your specific elements on Selector Box or use our Selector Detector to scan and pick elements from your Preview Page

You have the flexibility to select specific elements on your page that will trigger all the configurations within your parent timeline. This means that when users scroll down or up to the selected elements, the corresponding functions within the timeline and animations will initiate.

Note: When you ignore this selection part, the selected element in your first animation will be applied by default.

litemove scroll 6
For instance, the #features section is selected to trigger. When users scroll the page down, all the elements inside this section start animating.

Start When & End When Tabs

This ScrollTrigger will be active for detailed setup when the scrollbar is between the A and B positions.
In both A and B points, you can diversify additional functions. Then we made two minis corresponding tabs: “Start When” and “End When”

litemove scroll 14

Trigger Element

Trigger element the starting and ending position of your selected element, there are 3 options: top, center, or bottom.
You can customize Offset - a modifier of Trigger element

For example:

  • Choose (Trigger element = Top) and (Offset = “250px”)
  • Choose (Trigger element =Bottom) and (Offset = 80%)
litemove scroll 7

Viewports

You can recognize there are two additional lines displaying on Preview

litemove scroll 10
(In the "Start When" Tab)Start Viewport Or The ScrollTrigger Start Position refers to the specific point where the animation will commence. By default, it is set to "top-bottom" (meaning the animation will start when the top of the element intersects with the bottom of the viewport)
litemove scroll 8
(In the "End when" Tab)End Viewport Or The ScrollTrigger End Position denotes the precise location where the animation will conclude. By default, it is set to "bottom top" (indicating that the animation will end when the bottom of the element aligns with the top of the viewport).
litemove scroll 9
Similarly, you can adjust the Viewport positions by Offset values

Other functions

Toggle Actions

How the linked animation is controlled at the 4 distinct toggle places:

  1. On Enter,
  2. On Leave,
  3. On Enter Back,
  4. On LeaveBack,

You can use any of the following keywords for each action: “play”, “pause”, “resume”, “reset”, “restart”, “complete”, “reverse”, and “none”.
The default is “play” “none” “none” “none”.

For example, IfToggle Actions = "play" "pause" "resume" "reset" will play the animation when entering, pause it when leaving, resume it when entering again backwards, and reset (rewind back to the beginning) when scrolling all the way back past the beginning. 
litemove scroll 11

Scrub

Activate or deactivate the Scrub feature. When activated, the animation will be synchronized with the user's scrolling, playing in real-time as they navigate the page.
litemove scroll 5

Pin Element

Create a scenario where an element remains unaffected by scroll adjustments while the ScrollTrigger remains active. This functionality proves remarkably beneficial in generating seamless effects and ensuring continuous visibility of your animation throughout the scrolling process.

Demo: Basic Pin
Reference source: Pin Element of GSAP

 

Custom scrollTrigger options

For furthermore, you are able to customize Scroll Trigger control options that are unavailable in our Timeline Control

litemove scroll 13

Animation Control Setup

As in Page Load Trigger, you can apply any property for animations.
To begin, select the appropriate “Trigger element”, enter input elements, or use Selector Detector to choose specific elements on your page.

litemove scroll 15
Scroll trigger + rotation property for a Text Element

For instance, we apply the rotation property to animate a Text Element. 

litemove animation rotation

If you combine the Scrub feature, your animation will be more attractive. You can browse directly this demonstration via our Litemove homepage

Back to top