@sorixx.
I use this as a makeshift to force mouse click, but like u, I am still with the stuck issue when char is moving and get hit with knockback than char's position is in limbo and gets stuck. Not sure how to fix it too

(
Func GetCurrentPos()
Dim $return[3]
$return[0] = _MemoryRead($ClickToMoveCurX, $d3, 'float')
$return[1] = _MemoryRead($ClickToMoveCurY, $d3, 'float')
$return[2] = _MemoryRead($ClickToMoveCurZ, $d3, 'float')
If $return[0] = 0 And $return[1] = 0 And $return[2] = 0 Then
ClickOnPlayer()
$return[0] = _MemoryRead($ClickToMoveCurX, $d3, 'float')
$return[1] = _MemoryRead($ClickToMoveCurY, $d3, 'float')
$return[2] = _MemoryRead($ClickToMoveCurZ, $d3, 'float')
EndIf
Return $return
EndFunc ;==>GetCurrentPos
Func ClickOnPlayer() ; Click on player if coords is not registered.
;;--------------------------------------------------------------------------------
;; WinMove($handle, "", 0, 0, 800, 600) ; We assume using 800x600 window mode
ControlClick($ActiveWin, "", 0, "middle", 1, 400, 300) ; Centre of screen is half the coords of above 800x600
Sleep(100)
EndFunc ;==>ClickOnPlayer