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

hover

abstract fun hover(): Int

Move the mouse pointer to region's last successful match, uses center if no last match. If region is a match, move to targetOffset. Same as mouseMove.

Return
1 if possible, 0 otherwise.

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

Attempts to find the target and move the mouse pointer to it.

Parameters

target - Target to move the pointer to.

Return
1 if possible, 0 otherwise.