pos = trackedPoint if down pullPoint = pos stretch = distance(pullPoint, pos) dir = (pos - pullPoint).normalized cursor = pos + dir * stretch * 3