Ensure that you can't drag the box for more than 2 seconds.
- Use a delayed transition via
after: { ... }
to transition back toidle
fromdragging
after 2 seconds. - Parameterize the 2 second timeout.
- How would you make the timeout configurable from the
context
instead?