ClickParams():setTouchIndicator()
Show a circle where the click lands, like Android's "Show taps" developer option.
Signature
setTouchIndicator(show: boolean): ClickParams
Parameters
| Parameter | Type | Description |
|---|---|---|
| show | boolean | true 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