DPB2Class · Interface and panels

LokiPoe.InGameState.SkillBarHud

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.

Members and overloads

1 declared here
Show all members

BeginUseAt

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector2i position, bool clearKeys)

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)

Return type: LokiPoe.InGameState.UseResult
Explore LokiPoe.InGameState.UseResult → members & methods

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.

position

A specific Vector2i position where to move the mouse.

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

If true, all keys state will be reseted.

Returns: UseResult.None on success, or the relative error.

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

Guides using this class

These guides refer to LokiPoe.InGameState.SkillBarHud as a whole and may use other members. They are not dedicated examples of the selected member.

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.