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

hover

open fun hover(): Int

Overrides ISikuliRegion.hover

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.

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

Overrides ISikuliRegion.hover

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.