Skip to main content
Solved

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

  • November 6, 2023
  • 1 reply
  • 218 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).

This topic has been closed for replies.

1 reply

tank666
  • Answer
  • November 6, 2023

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