@ZachSaucier Wow - I am so grateful for your time and assistance ?
If it's not too much trouble, I have a few follow-up questions. I'm not understanding the logic of the .set() call here/where it's even located since it appears to be implicit. I was reading the docs and realized I was completely mistaken with the xMove and yMove assignments. https://greensock.com/docs/v2/TimelineMax/set()
1. What are the 0 and 500 values actually referring to?
$landingInnerContent.on("mousemove touchmove", function(e) {
var xMove = "+=0",
yMove = "+=0";
if (e.clientX > $landingWrapper.width() / 2) {
xMove = "+=500";
} else {
xMove = "-=500";
}
if (e.clientY > $landingWrapper.height() / 2) {
yMove = "+=500";
} else {
yMove = "-=500";
2. Additionally, the forum post that inspired me to try the ScrollToPlugin had eases (following the functions that I believe are the .set() calls you mentioned)... so, are these the calls for which it wouldn't make sense, or am I not following correctly?
https://codepen.io/jonathan/pen/QjzZpO
$landingInnerContent.on("mousemove touchmove", function(e) {
if (e.clientX > $landingWrapper.width() / 2) {
TweenMax.to($landingWrapper, 2, {
scrollTo: {
x: "+=175"
},
ease: Power2.easeOut
});
} else {
TweenMax.to($landingWrapper, 2, {
scrollTo: {
x: "-=175"
},
ease: Power2.easeOut
2. Additionally, the forum post that inspired me to try the ScrollToPlugin had eases (following the functions that I believe are the .set() calls you mentioned)... so, are these the calls for which it wouldn't make sense, or am I not following correctly?
3. More of a theoretical question, as I haven't attempted to implement yet, but I intend to make this 'grid' draggable on mobile (since there'll obviously be no pointer events to respond to for the scrolling). I will surely research all I can in the meantime, but do you know if I can use multiple GSAP libraries simultaneously/disable the Draggable for desktop? I'm afraid that I don't see how the Tweens were conflicting in my original code, and so I don't want to accidentally create more conflicts. No worries if this inquiry is too vague/unsupported.
Thanks again for the corrections and helping me to learn!