Add snap to cursor.