mouse_move_to
mouse_move_to($dx=1,$dy=1,$type="curve",$time=1000); - emulates moving the mouse at the iron level relative to the upper-left corner of the element along the specified path. Available from version 7.0.24.
The function accepts parameters as input:
$dx – offset on the X axis relative to the upper – left corner of the element$dy - offset on the Y axis relative to the upper – left corner of the element$type - the type of trajectory to move to the specified point. It can take the following values:
- "line" - moving along a straight line
- "curve" - moving along a random curve
- "chaotic" - chaotic movement
- "circle" - along a circular path
- "readtext" - imitating reading text
$time - time for which the placement will be performed (milliseconds)
After testing, the function returns the result of its work to the script (the return value type is boolean):
true – completed successfullyfalse – it was not possible to find such an element (for example, there are no elements that meet the specified criteria or there is no such frame)