public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.UseAt(int slot, bool inPlace, Vector2 position, bool clearKeys = true)
Move the mouse at a specific Vector2 position and Click the skill slot selected, this is rarelly used, but still there might be some use case.
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 Vector2 position where to move the mouse.
clearKeysbool- 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.