var offset; x = round(x) y = round(y) offset = (other.x - x) yVel = -3 xVel = ((offset / 8) * -1)