You can easily animate the behavior defined with a statechart. Please study the following demo model to get the idea (the required code is specified in the dynamic properties of rectangles).
We use cookies to give you the best online experience, including personalized content, advertising, and web analytics. You can reject cookies by changing your browser settings. To learn more about the cookies we use, see our Cookie Policy.