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