I am trying to make a program where every once in a while the mouse will move to a certain spot on the screen, and then click there. I used SetCursorPos to move the mouse to the coordinates that i want, but i cant figure out how to simulate a mouse click. Please help. I need to know what to put in declarations, and the code to click. thanks a bunch in advance!!