GSAP Guide

This guide explains where to find the code, how to customize animation parameters like timing and easing, and how to completely remove the script if needed.

✏️ Customization Guide

Below is a breakdown of what each part does and what parameters you can change:

1. Main Text & Button Animation

🔄 You can customize:
  • delay: Time before the animation starts (e.g., 0.51 for slower start).

  • duration: How long the animation takes (e.g., 0.81.2).

  • x: Horizontal start position. Increase to move from farther away.

  • autoAlpha: Opacity + visibility. Usually stays at 0 to fade in.

  • stagger: Delay between each character's appearance (0.040.1 for more spacing).

  • ease: Animation curve. Try "power2.out", "elastic.out(1, 0.3)", or "expo.out".

2. Scrambled Text Animation

🔄 You can customize:
  • text: Final word shown after scramble (e.g., "thespo").

  • chars: Characters used while scrambling (customize the look).

  • speed: Speed of scrambling (0.5 is medium, lower = faster).

  • revealDelay: Delay before letters begin settling (0.31 for longer chaos).

  • duration: Total animation time (2.23 or 1.5).

3. Counter Animation

🔄 You can customize:
  • val: Final number shown (188 → any number).

  • duration: How long the count-up takes (2 seconds → slower = longer).

  • ease: Animation curve (e.g., "power2.out", "linear").

🗑️ How to Remove the Script

If you no longer want to use these animations:

  • Go to Site SettingsCustom Code

  • Scroll to Before </body>

  • Simply delete the <script> ... </script> blocks

  • Save & Republish

🧠 Final Tip

Always test changes on a duplicated version of your project. Animation values like duration, ease, and stagger can significantly affect the user experience. Experiment and preview in Webflow!