DPB1Class ยท Utilities and settings

MouseManager

This class control the mouse movements. While most of the time you don't need to call this class (you use the various LokiPoe classes to interact with the game world, Ui and actions, Sometime you might want to do something that the Framework is not already doing, in that case you can call this class and move the mouse at your will.

Namespace: DreamPoeBot.BotFramework

public static class MouseManagerView DPB2 version โ†’

Members and overloads

1 results
Show all members

SetMousePosition

MethodLink โ†—
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

Related types

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.