Skip to main content
Question

Remove variable with API

  • August 27, 2024
  • 2 replies
  • 103 views

Simone5

Hello everyone, I wanted to know if anyone knows how to remove a variable through the plugin API. I couldn’t find anything by analyzing the documentation.

This topic has been closed for replies.

tank666
  • August 27, 2024

Call the remove() method of the Variable object.

variable.remove()
figma.com

Simone5
  • August 28, 2024

Thank you! I was looking in the wrong place, I’m feeling stupid 😑


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings