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 MouseManager
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
Show all members

SetMousePosition

MethodLink ↗
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.

Return type: voidNo return value.

Parameters

pos

A vector of 2 float, internally converted to integer, describing the X and Y coordinate

sleep
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies sleep. Optional; the default is shown in the signature.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

DPB2 0.4.5.103 · 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.