Sorry, we don't support your browser.  Install a modern browser
This post is closed.

JavaScript, function based values#104

Their should be the option to add custom value properties (like not in only px or %) like x: () => window.innerWidth - 40 or x: random(-xRange, xRange), or x: (index, target) => { return (index + 1) * 100}

some value based on functional calculations like function getScrollAmount()

let racesWidth races.scrollWidth: return -(racesWidth window.innerWidth);

MONACO

const tweengsap.to (races, ( x: getScrollAmount, duration: 3, ease: “none”, });

2 years ago

Hi, you can already do that with advanced custom fields for both from/to and ScrollTrigger.

https://feedback.motion.page/13

2 years ago
Changed the status to
Archived
2 years ago