# Rive publishes a tutorial on listener action scripts

By Steven Van · 2026-05-17

The walkthrough shows how to distinguish a double click from a single click inside a state machine.

Rive has published a tutorial on listener action scripts, which run custom logic when a listener fires inside a state machine. The example covers a common problem: telling a double click apart from a single click, something standard listeners handle poorly on their own.

See the [tutorial](<https://x.com/i/status/2056485183650742564>) for the walkthrough. [Rive](<https://creatorstoolbox.com/tools/rive>) is an interactive experience engine for designing, animating and coding graphics that ship across platforms.

[View media](<https://video.twimg.com/amplify_video/2056484967027453952/vid/avc1/1280x720/8JwYoTaOA8m164TW.mp4>)

![Rive](<https://www.google.com/s2/favicons?domain=rive.app&sz=128>)

Rive

The interactive experience engine — design, animate, and code interactive graphics that ship everywhere.

[View Rive →](<https://creatorstoolbox.com/tools/rive>)

[Read Rive publishes a tutorial on listener action scripts on Creators Toolbox](<https://creatorstoolbox.com/blog/rive-listener-action-scripts-tutorial>)

---
Canonical source: https://creatorstoolbox.com/blog/rive-listener-action-scripts-tutorial
