Toggles random mouse movements on or off.
(random: boolean)
| 577 | |
| 578 | /** Toggles random mouse movements on or off. */ |
| 579 | public toggleRandomMove (random: boolean): void { |
| 580 | this.moving = !random |
| 581 | } |
| 582 | |
| 583 | /** Get current location of the cursor. */ |
| 584 | public getLocation (): Vector { |