so, I don’t know what I’m doing wrong I’m unable to make this component appear after 1s delay with a boolean variable.
If I set the variable in the interaction from false to true it does work, but it doesn’t the work the other way.
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.
Thanks,
Toku
Hi Toku
Thanks for the tip.
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.
Thanks for your help mate,
Max
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.