public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector3 position, bool clearKeys)
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)
slotint- The slot to use.
inPlacebool- If true, the CTRL key will be pressed before casting this skill and released right after.
positionVector3- A specific Vector2i position where to move the mouse.
clearKeysbool- If true, all keys state will be reset BEFORE using the skill.
Returns: UseResult.None on success, or the relative error.