// Project Example: SetRawMousePosition()
// Created: 2015-01-22
Setvirtualresolution(640,480)
ResetTimer()
// The current mouse position is read
// then postitioned 10 pixels to the right
// then to the left and back to original
// position. [Windows]
Repeat
Xpos=GetRawMouseX()
Ypos=GetRawMouseY()
SetRawMousePosition(Xpos+10,Ypos)
Sync()
SetRawMousePosition(Xpos-10,Ypos)
Sync()
SetRawMousePosition(Xpos,Ypos)
Sync()
Until Timer()>15
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)