# How to play a short animation upon interaction (rotate a shape)

**URL:** <https://discourse.processing.org/t/how-to-play-a-short-animation-upon-interaction-rotate-a-shape/42934>\
**Category:** Coding Questions\
**Created:** [October 10, 2023, 12:26am UTC](https://discourse.processing.org/t/how-to-play-a-short-animation-upon-interaction-rotate-a-shape/42934 "2023-10-10T00:26:08Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [October 13, 2023, 5:14am UTC](https://discourse.processing.org/t/how-to-play-a-short-animation-upon-interaction-rotate-a-shape/42934/14 "2023-10-13T05:14:26Z")

</div>

Another cube rotating example: 🧊

https://OpenProcessing.org/sketch/2043104/embed/

---

_[View the full topic](https://discourse.processing.org/t/how-to-play-a-short-animation-upon-interaction-rotate-a-shape/42934)._
