public static void LokiPoe.Input.ClickLMB(int cx = 0, int cy = 0)
Click the left mouse button, Pls NOTE: Its important to pass the X and Y location if you click on a User Interface control, while is not necessary if you click on the game world.
Return type:voidNo return value.
Parameters
cx
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
X coordinate
cy
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static void LokiPoe.Input.ClickMMB(int cx = 0, int cy = 0)
Click the middle mouse button, Pls NOTE: Its important to pass the X and Y location if you click on a User Interface control, while is not necessary if you click on the game world.
Return type:voidNo return value.
Parameters
cx
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
X coordinate
cy
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static void LokiPoe.Input.ClickRMB(int cx = 0, int cy = 0)
Click the right mouse button, Pls NOTE: Its important to pass the X and Y location if you click on a User Interface control, while is not necessary if you click on the game world.
Return type:voidNo return value.
Parameters
cx
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
X coordinate
cy
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static void LokiPoe.Input.DblClickLMB(int cx = 0, int cy = 0)
Double Click the left mouse button, Pls NOTE: Its important to pass the X and Y location if you click on a User Interface control, while is not necessary if you click on the game world.
Return type:voidNo return value.
Parameters
cx
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
X coordinate
cy
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static void LokiPoe.Input.DblClickMMB(int cx = 0, int cy = 0)
Double Click the middle mouse button, Pls NOTE: Its important to pass the X and Y location if you click on a User Interface control, while is not necessary if you click on the game world.
Return type:voidNo return value.
Parameters
cx
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
X coordinate
cy
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static void LokiPoe.Input.DblClickRMB(int cx = 0, int cy = 0)
Double Click the right mouse button, Pls NOTE: Its important to pass the X and Y location if you click on a User Interface control, while is not necessary if you click on the game world.
Return type:voidNo return value.
Parameters
cx
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
X coordinate
cy
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static bool LokiPoe.Input.GetClickableHighlightLabelDimensions(NetworkObject obj, out Vector2 coords, out Vector2 size, bool onlyVisible = true)
Return the position and dimension of a NetworkObject label, or Vector2.Zero if the lebel is not visible.
Return type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static bool LokiPoe.Input.GetKeyForAction(string action, out Keys key)
Retrieve the currently configured key for a specifig game action. the string passed must be in the same exact form as show in the game options. Ex: "Atlas Screen", "Pantheon Panel", "Attack in place". PLEASE NOTE: even if this is supposed to work even with customized key setup, I strongly sugest you to keep the DEFAULT key setup to ensure the bot work.
Return type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
action
Parameter type:stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
The option you want to retrieve the key for.
key
Parameter type:KeysNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static bool LokiPoe.Input.HighlightObject(NetworkObject obj)
This function will move the mouse over a specific NetworkObject. This is a key function and must be used to loot, attack or interact with the game world.
Return type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static void LokiPoe.Input.MoveMouseToWorldPos(string reason, Vector2 destination)
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.
public static void LokiPoe.Input.MoveMouseToWorldPos(string reason, Vector2i destination)
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.
public static void LokiPoe.Input.MoveMouseToWorldPos(string reason, Vector3 destination)
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.
public static void LokiPoe.Input.PasteText(string msg, bool useSend)
Paste a specific text into a text field.
Return type:voidNo return value.
Parameters
msg
Parameter type:stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
The text to paste.
useSend
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
If true, SendMessage will be used instead of PostMessage, it is a little more slower, but 100% garantee the message to be fully inserted, while PostMessage is fast, but might fail on low fps, or overloaded cpu scenarios.
public static void LokiPoe.Input.SimulateKeyEvent(Keys key, bool down = true, bool @char = false, bool up = false, Keys extraKey = null)
Press a key using System.Window.Form.Keys as parameter, this is used to send Keystroke for special keys like `Enter`, `Esc` etc. The most common usage for this method is `SimulateKeyEvent(Keys.Escape, true, false, false); that simulate a single keystroke.`
Return type:voidNo return value.
Parameters
key
Parameter type:KeysNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
The key to be pressed
down
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Should the message indicate a key down event.
char
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Are we passing a char to the event.
up
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Should the message indicate a key up event.
extraKey
Parameter type:KeysNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies extra key. Optional; the default is shown in the signature.
public static int LokiPoe.Input.InputEventDelayMs { get; set; }
Get or set the ms to pause between interactions, the default value is a random number between 40 and 130ms. Pls keep in mind that setting this to low make the bot super fast but not human like anymore.
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.
Si è verificato un errore. Ricarica la pagina per continuare.
Ricarica🗙