This example demonstrates how to expand/collapse an object by animating its size.
Click the object below to toggle between expanding and collapsing.