AcediaDocumentation

mousemoverel

Moves the virtual cursor by relative offsets.

Offsets are added to the last virtual cursor position, not to the real pointer position. Call mousemoveabs first to set a starting point, otherwise movement starts from the viewport origin. Like mousemoveabs, this activates the virtual cursor for 5 seconds and leaves the system pointer where it is.

Acedia draws the virtual cursor on screen; see Virtual cursor.

mousemoverel(dx: number, dy: number): ()

Parameters

ParameterTypeDescription
dxnumberHorizontal movement in viewport pixels.
dynumberVertical movement in viewport pixels.

On this page