Mouse move in viewport glitchy

Hello!

I have a header with 3 layers under it. When I move the mouse in viewport, I want the layers to follow the mouse movement along the x and the y axis. It seems to do this correctly, although - the animation is super jumpy. It looks like it can’t have an x and y value at the same time, instead it jumps between the x value and the y value.

I want it to be similar to the rotation animation here, but with movement instead of rotation: Website interactions and animations | Webflow

Link: https://preview.webflow.com/preview/lpr-936eb2?utm_medium=preview_link&utm_source=designer&utm_content=lpr-936eb2&preview=a9f7d96f5727d9a5a648322e020adf47&mode=preview

Thanks!!