Welcome to the GSAP animation guide for this template. This page will help you understand, customize, or remove GSAP animations used throughout the site.
Below is a list of all elements animated with GSAP and what each animation does:
All animations are controlled via GSAP and ScrollTrigger. Below is the core snippet with explanations
const characters = "|{}[]<>!@#$%^&*";
function scrambleWithGSAP(charElement, finalChar) {
const scrambleSteps = Array.from({ length: 5 }, () =>
characters[Math.floor(Math.random() * characters.length)]
);
scrambleSteps.push(finalChar);
const tl = gsap.timeline();
scrambleSteps.forEach((step) => {
tl.to(charElement, {
text: step,
duration: 0.05, // 🔧 Change this to control speed
ease: "none" // 🔧 Change easing here (e.g., "power2.out")
});
});
}
✅ Common Customizations:
ScrollTrigger example:
ScrollTrigger.create({
trigger: heading,
start: "top 90%", // 🔧 Change when animation starts
end: "bottom 15%", // 🔧 Change when animation ends
onEnter: () => {
// animation code
}
});
If you'd like to disable or fully remove the GSAP animations:
Step-by-step Instructions:
Open your custom code section in Webflow where the script is added (Site Settings → Custom → Code Before </body> tag).
Comment out or delete the GSAP block.
<!--
<script>
window.Webflow ||= [];
window.Webflow.push(function () {
// Entire GSAP code here
});
</script>
-->
Alternatively, remove just the ScrollTrigger inside the script.
// Comment or remove this block
ScrollTrigger.create({ ... });
Save and Republish the site.
⚠️ Visual Side Effects: