This class let you interact and retrieve informations about the SkillBarHud, the bottom left skill bar. This offer you wrapper to use skills in various mode, single click (Use, UseAt, UseOn) or keeping the key pressed (BeginUse, BeginUseAt). To set a skill on a specific slot (all 13 slots are available). To to clear a slot. And many other utility. This class is compatible with POE2.
Namespace: DreamPoeBot.Loki.Game
public static class LokiPoe.InGameState.SkillBarHud
Reference: DPB2 0.4.5.103Compare the DPB1 reference →
Check signatures and usage notes separately; a matching type is not a compatibility guarantee.
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector2 position)
Move the mouse at a specific Vector2 position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.InteractCenterWorld. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)
Move the mouse at a specific Vector2 position and Click and keep pressed the skill slot selected, this is rarelly used, but still there might be some use case. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector2i position)
Move the mouse at a specific Vector2i position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.InteractCenterWorld. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)
Move the mouse at a specific Vector2i position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.Position. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector3 position)
Move the mouse at a specific Vector3 position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.InteractCenterWorld. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)
Move the mouse at a specific Vector3 position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.InteractCenterWorld. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, NetworkObject obj)
Try to highlight a specific NetworkObject and Click and keep pressed the skill slot selected. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)
Try to highlight a specific NetworkObject and Click and keep pressed the skill slot selected. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)
public static Element LokiPoe.InGameState.SkillBarHud.GetElementForExtraSlot(int int_0)
Calls GetElementForExtraSlot on LokiPoe.InGameState.SkillBarHud with int_0 and returns Element. Open the return contract below before using the result.
A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.
A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.
Named values for use result. Select a value when an API accepts or returns UseResult.
Parameters
slot
Parameter type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
The slot to use.
inPlace
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
If true, the CTRL key will be pressed before casting this skill and released right after.
clearKeys
Parameter type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
If set to true, all keys will be cleared before to cast. for instant skills you usually set this to false, to avoid keys like the move key to be released.
Returns: UseResult.None on success, or the relative error.
See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.
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.
An error has occurred. This application may no longer respond until reloaded.
Reload🗙