# Function Reference

# _WinAPI_SetCaretPos

Moves the caret to the specified coordinates

#include <WinAPIRes.au3>
_WinAPI_SetCaretPos ( $iX, $iY )

## Parameters

$iX | The new x-coordinate of the caret.
$iY | The new y-coordinate of the caret.

## Return Value

Success: | True.
Failure: | False, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search SetCaretPos in MSDN Library.