I have been trying to make a script that drags your mouse down when you left click. So far my code looks like this (just for the test I have been using the Write "1" part)
static void Main(string[] args)
{
while (true)
{
while (Console.ReadKey(false).Key == ConsoleKey.LeftWindows)
Console.Write("1");
}
}
Now I know that LeftWindows
is not the left mousebutton. I just had no idea.