Svg action
Svg action Ah , actually the action is called Sleep . I 've made a small example project you can look at here . You 'll notice the action for the button 's click event https://editor.nordcraft.com/projects/erik_delayed/branches/start/components/HomePage?mode=design&leftpanel=design&rightpanel=events&canvas-width=800&canvas-height=800 - Create a variable , you can call it "triggered " - On the click -event , set the variable to true - On the same click event , do what Erik suggested of using the sleep -action to then set the variable back to false after 5s - Use this variable to trigger a class triggered on your SVG - Make the style changes to your class - Profit 💵 I 've done it all in this example , based on Erik 's initial branch https://editor.nordcraft.com/projects/toggle_button_color/branches/main/components/HomePage



.jpeg/public)