An animation trigger when a value in a global changes.
Should be useful for making toast notifications because with that, we could look at $ni(count)$ and
if that changes, we can trigger a toast popup that shows the new notification.
You can use React on> Formula to acomplish this, and use a formula like this
$if(ni(count)=0,0,1)$
This are going to trigger the animation every time you have a new notification, and you can use a touch action>Kustom action>dismiss notification to regret to 0 the notification and the animation.
Toasts work by popping up and then after a set period of time, it removes itself. With your implementation, the toast will pop up, and until youre gonna dismiss that notification, that toast will never hide itself. Thats not a toast.