HEy ich hab mal ne frage ich hab die kollison schon so weit geschrieben das wenn es kolidiert ein ereignis auslöst das dacht ich zumindestens aber jetzt hab ich festgestellt das es nur das ereignis auslöst wenn es den linken rand der picturebox berührt kann mir wer helfen wies geht das immer ein ereignis auslöst wenn es die picturebox erwischt
If PictureBox1.Left > PictureBox2.Left And PictureBox1.Left < PictureBox2.Right Then
If PictureBox1.Top > PictureBox2.Top And PictureBox1.Top < PictureBox2.Bottom Then
PictureBox2.Visible = False
PictureBox8.Location = PictureBox2.Location
PictureBox8.Visible = True
Timer1.Stop()
danke schon mal für die hilfe im vorraus
If PictureBox1.Left > PictureBox2.Left And PictureBox1.Left < PictureBox2.Right Then
If PictureBox1.Top > PictureBox2.Top And PictureBox1.Top < PictureBox2.Bottom Then
PictureBox2.Visible = False
PictureBox8.Location = PictureBox2.Location
PictureBox8.Visible = True
Timer1.Stop()
danke schon mal für die hilfe im vorraus