I have a game app where target elements of `elm1` and `elm2` are constantly moving according to the value of `x1` and `x2` that are receivable via WebSocket. The issue with the code below is that the target elements blink and seemingly default to 0px. How can I fix this? Sorry for not providing CodePen URL because it's hard to implement WebSocket.
let xSetter1 = gsap.utils.pipe(
gsap.utils.clamp(0, 800), gsap.utils.snap(5),
gsap.quickSetter(elm1, "x", "px")
);
xSetter1(x1) ;
let xSetter2 = gsap.utils.pipe(
gsap.utils.clamp(0, 800),
gsap.utils.snap(5),
gsap.quickSetter(elm2, "x", "px")
);
xSetter1(x2) ;