Skip to main content
Solved

In plugin development, how do you know which file the user is in?

  • November 6, 2023
  • 1 reply
  • 214 views

neicore

Hello Figma Community,
When you are developing a Figma plugin have you ever been in a scenario where you needed to know and keep a record of what file the user is in? How did you do it?

Best answer by tank666

You can check the document name or fileKey (if it is a private plugin).

View original
This topic has been closed for replies.

1 reply

tank666
  • 4873 replies
  • Answer
  • November 6, 2023

You can check the document name or fileKey (if it is a private plugin).


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