Making Mouse go down work within games
Currently i have a macro that is (almost) released
Here and i'm adding a new function to help control recoil, everytime it calls the function mouse() which pushes down then releases the Lbutton. Then it will move the mouse down however many pixels you set in the form box i provide. It worked great until i went in-game and the macro worked but it did not move the gun down at all. Here is the code i'm using so far
Code:
Private Sub MoveCursor()
' Set the Current cursor, move the cursor's Position,
Me.Cursor = New Cursor(Cursor.Current.Handle)
Cursor.Position = New Point(Cursor.Position.X - TextBox4.Text, Cursor.Position.Y - TextBox5.Text)
End Sub
Overall i want it to move the gun down the set amount of pixels defined in the box. Any ideas?
**NOTE** I have never coded in VB before but i have experience in C# so i should be able to figure stuff out :3