Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/litebot/modules/mouse.ts>LitebotClickOptions

A Deno library for interacting with the mouse 🖱️ keyboard ⌨️ and screen 💻. Provides a simple API for creating kbm events, macros, & working with displays. Leverages FFI & C providing high performance while maintaining a simple TypeScript API
Latest
type alias LitebotClickOptions
import { type LitebotClickOptions } from "https://deno.land/x/litebot@v0.4.4/modules/mouse.ts";

Default value is leftClick = true, and the x and y positions are determined by the current mouse position. If these are overidden then the mouse click will be at thye new x and y location.

definition: { leftClick?: boolean; delay?: number; x?: number; y?: number; }