Modeled after Kilinich's onStopHitByLaser event. Code slightly different operation and differently named variables.
Does not require separate master laser counter like onNotHitByLaser.
I'm not sure which one has better performance.
By the way -- I'm currently working on making hoverboards that stay a given distance from whatever object they're pointing at -- may I use this script in that scene?