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 MouseManager
Reference: DPB1 0.3.29.56Compare the DPB2 reference →
Check signatures and usage notes separately; a matching type is not a compatibility guarantee.
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.
Return type:voidNo return value.
Parameters
reason
Parameter type:stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
The reason of of the move, usually used for debugging purpose.
A vector of 2 integers describing the X and Y coordinate
useRandomPos
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
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 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).
Value type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.
An error has occurred. This application may no longer respond until reloaded.
Reload🗙