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

click

open fun click(): Int

Overrides ISikuliRegion.click

Left click at the region's last successful match, uses center if there is no last match. If region is a match, click targetOffset.

Return
1 if possible, 0 otherwise.

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

Overrides ISikuliRegion.click

Attempts to find the target and click it.

Parameters

target - Target to click.

Return
1 if possible, 0 otherwise.

open fun <PFRML : Any> click(target: PFRML, modifiers: Int): Int

Overrides ISikuliRegion.click

Attempts to find the target and click it with modifiers.

Parameters

target - Target to click.

modifiers - Modifiers to press while clicking.

Return
1 if possible, 0 otherwise.