Guest User

Untitled

a guest
May 24th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1.  
  2. 'pin 2
  3.  
  4. If ball1.Width >= pin2.Width Then
  5. top2 = True
  6. End If
  7.  
  8. If (ball1.Top + ball1.Height) >= pin2.Top Then
  9. bot2 = True
  10. End If
  11.  
  12. If (ball1.Top) <= (pin2.Top + pin2.Height) Then
  13. range2 = True
  14.  
  15. End If
  16.  
  17. If (ball1.Left + ball1.Width) >= pin2.Left Then
  18. mid2 = True
  19. End If
  20.  
  21. If range2 And top2 = True And mid2 = True And bot2 = True Then
  22. mstboo2 = True
  23. End If
  24.  
  25. If mstboo2 = True Then
  26. pin2.Visible = False
Add Comment
Please, Sign In to add comment