Skip to main content
Solved

Showing plugins in the Properties panel

  • February 24, 2022
  • 2 replies
  • 1432 views

adil_malik

Hello, is it possible to allow a plugin to always be accessible from the Plugins section in the Properties panel? I’m trying to accomplish this when there is no node selected.

The docs for setRelaunchData show an example of what I’m looking for, but I want to be able to do this without setting relaunch data, as the plugin is not linked to any specific node.

Thanks

Best answer by tank666

figma.root.setRelaunchData({ command: ""})

This will add your plugin to the DocumentNode and will show up in the properties panel when no object is selected.

View original

2 replies

tank666
  • 4873 replies
  • Answer
  • February 24, 2022
figma.root.setRelaunchData({ command: ""})

This will add your plugin to the DocumentNode and will show up in the properties panel when no object is selected.


adil_malik
  • Author
  • 1 reply
  • February 25, 2022

Thanks @tank666 , that worked


Reply


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