selectionStart

Gets or sets the starting position or offset of a text selection.

MDN Reference