The Selection.extend() method moves the focus of the selection to a specified point.
Selection.extend()
MDN Reference