Members and overloads
37 results
public static void MouseManager.SetMousePos(string reason, Vector3 destination, bool actualymove = true)
Move the mouse to a specific location using world position (position of game objects) This method take care of converting the world position accounting for the current camera zoom and rotation, to screen position.
reasonstring- The reason of of the move, usually used for debugging purpose.
destinationVector3- the position where to move the mouse.
actualymovebool- Deprecated, this is always true.
public static void MouseManager.SetMousePosition(Vector2 pos, bool sleep = true)
Move the mouse to a specific location using screen position, this method is rarely used.
posVector2- A vector of 2 float, internally converted to integer, describing the X and Y coordinate
sleepbool- Specifies sleep. Optional; the default is shown in the signature.
public static void MouseManager.SetMousePosition(Vector2i pos, bool useRandomPos = true)
Move the mouse to a specific location using screen position.
posVector2i- A vector of 2 integers describing the X and Y coordinate
useRandomPosbool- Should the function add random(-2, 2) to x and y? Please note, this will cause the mouse to slightly move from the original position, so use it carefully.
public static void MouseManager.SetMousePosition(int posX, int posY, bool sleep = true)
Move the mouse to a specific location using screen position.
posXint- X coordinate
posYint- Y coordinate
sleepbool- Should the function sleep after the move? default sleep is a random number between 25 and 40ms
public static IMouseHandler MouseManager.Instance { get; set; }
Retrieve the current IMouseHandler Instance, mostly used for internal purpose.
public static bool MouseManager.LogEvents { get; set; }
If LogEvents is enabled, a log message is displayed every time the mouse is moved and the coordinates are printed.
MouseActionDelayMs
PropertyLink ↗
public static int MouseManager.MouseActionDelayMs { get; set; }
Get or Set the default pause between mouse click actions. The default value is 50ms (20 click per second). Please note: a degree of randomnes is added to this value during runtime, different for every call. (0 to 15 ms).
DPB1 0.3.29.47 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.