Let's say I have some pipe objects connected to one another. The first pipe starts an animation of water flowing through it and when the animation finishes, it freezes at the last frame and sends a "message" to the next pipe to start playing the same animation, so that I get a nice effect of water flowing through all the pipes. The standard time-dependent 'wait' event isn't the answer here, obviously. So my question is: How to set 'a wait' for an animation to finish playing? I tried several ways, but none of them worked.