DPB2Class ยท 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 DPB1 version โ†’

Members and overloads

1 results
Show all members

ThisMouseMoverDelegate

FieldLink โ†—
public static MouseManager.MouseMoverDelegate MouseManager.ThisMouseMoverDelegate

Allows you to set a delegate that will control the mouse movement from the current mouse position to a destination position. The delegate contains 3 parameters: Vector2i destination: The final mouse position desired. Vector2i normalizedDestination: The final mouse position, confined in the game window (this is equal to destination in case the position is already inside the window) Vector2i currentPosition: The actual mouse position. It is your duty to eventually set the debugMouse position, and actually move the mouse. This is what the original code look like:

Related types

DPB2 0.4.5.88 ยท 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.