Hi! I am making a physics-based game with Clickteam Fusion 2.5, and it uses only simple boxes that fall from the top over a platform. Some will fall off, and some will pile up on the platform. I need to perform an action (calculate score) when all the boxes stop moving. The ones that fall off the platform are destroyed, but if they are still falling, that needs to count as moving as well. In other words, I can only calculate the score after all movements have completed.
Is there an event when the simulation ends? If not, how can I detect when all boxes have stopped moving or falling? I have tried making a loop that checks all boxes for speed greater than zero, but that is rather cumbersome. What would be the proper way to do this?