just to mention that, depending on what you are aiming to achieve… there is very likely to be a way to notify the end of your event, rather than trying to time the length of your event exactly… this would be much easier, performance efficient and framerate independent