Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MouseAction

Hierarchy

  • MouseAction

Implements

Index

Constructors

constructor

Methods

currentMousePosition

  • currentMousePosition(): Promise<Point>

leftClick

  • leftClick(): Promise<void>

middleClick

  • middleClick(): Promise<void>

pressButton

  • pressButton(btn: Button): Promise<void>

releaseButton

  • releaseButton(btn: Button): Promise<void>

rightClick

  • rightClick(): Promise<void>

scrollDown

  • scrollDown(amount: number): Promise<void>

scrollLeft

  • scrollLeft(amount: number): Promise<void>

scrollRight

  • scrollRight(amount: number): Promise<void>

scrollUp

  • scrollUp(amount: number): Promise<void>

setMouseDelay

  • setMouseDelay(delay: number): void

setMousePosition

  • setMousePosition(p: Point): Promise<void>

Static buttonLookup

  • buttonLookup(btn: Button): any