Skip to main content
Question

It is not possible to see the updated node in a console while a plugin is open

  • January 6, 2023
  • 1 reply
  • 410 views

Aqil_Manzoor

While my plugin is running, I converted group into frame. So, I checked my selected node on my console using figma.currentPage.selection[0]. It shows me the previous state of a node, however

This topic has been closed for replies.

1 reply

tank666
  • 4873 replies
  • January 6, 2023

This is currently expected behavior. Check out the following quote from the Figma Developers website:

⚠️ It is possible for a user to convert a frame into a group via the UI, and vice-versa. If you hold onto a node in a long-running plugin, you can’t assume its type never changes.
FrameNode | Plugin API