My name is Roy, I made a PictureBox move across the screen. Do any of you know how to make the PictureBox stop moving when it gets to another PictureBox, and change the Picture in the other PictureBox at the same time?
'if Picture1 is moving left to right
If (Picture1.Left + Picture1.Width) = Picture2.Left Then
'stop moving the Picture1
Picture1.Picture = Picture2.Picture
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.