Thanks for reaching out. Just to confirm, do you want it to toggle on and off every second, or should it toggle off when the boolean is true and vice versa?
If you’re looking to create a loop action, you can do this by creating ‘on’ and ‘off’ variants of the component and setting up interactions between them with a delay.
For the latter case, you can achieve this by using a conditional statement.
Hope this helps! Please let me know how that works.
Could you please describe the script to do this : ”If you’re looking to create a loop action, you can do this by creating ‘on’ and ‘off’ variants of the component and setting up interactions between them with a delay."
I am trying to do it the way I was doing it years ago on Axure but I can't find my way in the condition console.
What I would like to do is for instance :
-On click
--Set button to true
--Change button variant to red button appears in red
--//Wait 500ms// that's the Axure way so I would assume //after delay 500 ms// un Figma
-Change button variant to green
So basically on click a button appears in red then after delay 500ms the button turns green.