I have a picturebox that moves around using the arrow keys by using this code:
how do i code it to make it move up and down? this has it going left and right across the form how do i make it move across the y axis (up and down)
Code:
If e.KeyValue = Keys.Right Then piccar.Left = piccar.Location.X + 6 ElseIf e.KeyValue = Keys.Left Then piccar.Left = piccar.Location.X - 6 End If
Comment