Hmm, I don't know where to start here. This is my code for a moving button:


If e.KeyCode = Keys.W Then
Button1.Top = Button1.Top - 10

ElseIf e.KeyCode = Keys.S Then
Button1.Top = Button1.Top + 10

ElseIf e.KeyCode = Keys.A Then
Button1.Left = Button1.Left - 10

ElseIf e.KeyCode = Keys.D Then
Button1.Left = Button1.Left + 10


How would I use the intersects/bounds thing a
nd where would I put it? Would it go here?


If e.KeyCode = Keys.W Then
--here
Button1.Top = Button1.Top - 10


People have told me the commands but I don't know how to use them...

Any help on collision detection would help :P