how to use animation and form