Skip to main content

ClickParams():setTouchIndicator()

Show a circle where the click lands, like Android's "Show taps" developer option.

Signature​

setTouchIndicator(show: boolean): ClickParams

Parameters​

ParameterTypeDescription
showbooleantrue draws the indicator

Returns

ClickParams, so calls can chain.

Description​

The indicator is drawn at the click point for getTouchIndicatorDuration() milliseconds. It is off by default. This is useful while building a macro or recording a demo.

Example​

Screen:click("buy.png", ClickParams():setTouchIndicator(true))

Compatible Version: 1.0.0.37 and up