Skip to main content
Admin16
New Participant
April 25, 2024
Question

Not able to use the variable

  • April 25, 2024
  • 29 replies
  • 878 views

I am trying to show the hidden box using a boolean variable but the problem happens when I apply the variable on the instance which will change to another variant of it using the time delay, But that change of the variant to another variant is not happening in the time delay prototype but if I give the on-click to change to the other variant that’s work. not sure what is wrong with it.

Attached is the Figma link

Figma – 25 Apr 24
This topic has been closed for replies.

29 replies

Gayani_S
Figmate
Community Support
April 26, 2024

Hey @Admin16, thank you for reaching out and sharing a file link with us. I’ve reached out to the team for help. I am not sure if this could be possibly a bug.

Let me come back to you once I have more information on this. Also leaving this open for the community to jump in if they have any solution.

Appreciate your patience in the meantime!

Admin16
Admin16Author
New Participant
April 29, 2024

@Gayani_S Thank you for addressing this matter. I’m eagerly awaiting your response on resolving it.

Gayani_S
Figmate
Community Support
April 29, 2024

Hey @Admin16, quick question could you please invite support-share@figma.com with “can edit” permission so we can look into this further? Note that users with @figma.com emails on your team do not count towards your billing.

Thanks!

Admin16
Admin16Author
New Participant
April 30, 2024

I have sent the invitation.

Gayani_S
Figmate
Community Support
April 30, 2024

Thanks a lot and apologies for the back an forth, will get back to you as soon as possible!

Admin16
Admin16Author
New Participant
May 2, 2024

Hey @Gayani_S have you found any resolution?

Gayani_S
Figmate
Community Support
May 3, 2024

Apologies for the delayed response!

Please try the following as a workaround :

  • Use a white (or matching fill color to background) frame/rectangle with the same dimensions and place it directly over the component instance
  • Set the default boolean value to visible (this “hides” the component), and bind the boolean variable to the frame layer visibility
  • Change the prototype interaction for the “show” button to set the boolean to false instead of true

Let me know if this does not work for you, happy to connect you with our technical quality team!

Admin16
Admin16Author
New Participant
May 3, 2024

I appreciate your reply, I have tried what you are saying, the problem is I wanted to start the animation on the component only when the component showed up. Hiding the components using the frame will not solve the issue.

Gayani_S
Figmate
Community Support
May 3, 2024

Hey @Admin16, got it! I’ve just created a support ticket on your behalf. Your ticket number is #992106, for reference. Our technical quality team can take a look at your case. Appreciate your patience in the meantime.

Let me know if there is anything else I can help with.

Admin16
Admin16Author
New Participant
May 10, 2024

hey, @Gayani_S may I know the status of the ticket you created?