// simple mouse follow with ease, and simple ease multiplier example var ease = 0.2; clip.x += (mouseX - clip.x) * ease; clip.y += (mouseY - clip.y) * ease;