I am trying to make a game where you are a guy, and (yes, there is gravity) and you are on the bottom of the form. You can move right and left (it is a picture box) and when you jump you go up and then go back down. I want to make it so that if you press the right arrow key and the space bar you jump to the right a bit, and same with the left, but im not sure how to do it. I've tried:

```
int pX = Player.Location.X;
int pY = Player.Location.Y;     

if (e.KeyData == Keys.Space && e.KeyData == Keys.Right)
{
                        Player.Location = new Point(pX + 15, pY -= 30);
                        Thread.Sleep(50);
                        Player.Location = new Point(pX + 15, pY -= 30);
                        Thread.Sleep(50);
                        Player.Location = new Point(pX + 15, pY -= 30);
                        Thread.Sleep(50);
                        Player.Location = new Point(pX + 15, pY += 30);
                        Thread.Sleep(50);
                        Player.Location = new Point(pX + 15, pY += 30);
                        Thread.Sleep(50);
                        Player.Location = new Point(pX + 15, pY += 30);
}

```

But that didnt work. Thanks for your help !!