Full body trigger-delay trigger
I’m using Full Body Triggers system to make a motion sensing filter. I added a piece of code below for score, that is the user will get one point and trigger animation when a specific movement got detected.



But sometimes, the sensor was too sensitive to make scoring normally, so I want to set a limit that after a movement is detected, the system will pause for one second then start sensing again. How and where should I adjust my code?
I tried cord "delay" and "setTimeout" but neither of them worked. Thank you.
One option would be to keep track of the timestamp of the most recent trigger and only increment the score if a certain time threshold has been met. The implementation details are up to you.