skrypton-api / com.waicool20.skrypton.sikulix / ISikuliRegion / mouseMove

mouseMove

abstract fun mouseMove(): Int

Moves the mouse pointer to the region's last successful match. Same as hover.

Return
1 if possible, 0 otherwise

abstract fun mouseMove(xoff: Int, yoff: Int): Int

Moves the mouse from the current position to the offset position.

Parameters

xoff - Horizontal offset, negative number are offset to the left.

yoff - Vertical offset, negative number are offset to the top.

Return
1 if possible, 0 otherwise.

abstract fun <PFRML : Any> mouseMove(target: PFRML): Int

Moves the mouse to the given target.

Parameters

target - Target to move the pointer to.

Exceptions

FindFailed - If the find operation failed.

Return
1 if possible, 0 otherwise.