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

mouseMove

open fun mouseMove(): Int

Overrides ISikuliRegion.mouseMove

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

Return
1 if possible, 0 otherwise

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

Overrides ISikuliRegion.mouseMove

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.

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

Overrides ISikuliRegion.mouseMove

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.