Skip to content

Editor.posAtMouse method

Editor › posAtMouse

Unofficial

Get the character position at a mouse event.

Signature:

posAtMouse(evt: MouseEvent): EditorPosition

Parameters:

Parameter Type Description
evt MouseEvent The mouse event.

Returns: EditorPositionThe character position at the mouse event.