Laser alternates between on and off every (approximately) 5 seconds. If laser is off, ball passes through without being destroyed. If laser is on, ball collides and ball is destroyed.
if we think it might be better, I can modify the code to have a public variable so we can change the speed in the editor to make it faster/slower instead of a universal speed
Laser alternates between on and off every (approximately) 5 seconds. If laser is off, ball passes through without being destroyed. If laser is on, ball collides and ball is destroyed.