Figma Developers

Figma Developers

  • Introduction
  • API Reference
  • Updates

›Recent Posts

Recent Posts

  • Version 1, Update 19
  • Version 1, Update 18
  • Version 1, Update 17
  • Version 1, Update 16
  • Version 1, Update 15

Version 1, Update 7

November 26, 2019

(Also included: update 6)

New:

  • We updated the typings and replaced instances of | symbol with PluginAPI['mixed'] for all properties that can return the special figma.mixed value. This new syntax also fixes the problem where TypeScript's control flow analysis was not able to understand if (node.prop !== figma.mixed) and narrow down the type.
  • We added "Use Developer VM" option in the plugin developer menu that gives plugin code access to the browser's debugger during development. Read more.
  • We fixed a bug where the selectionchanged event could sometimes fire multiple times when the selection changed.

Proposed API (how do they work?):

  • We decided not to go forward with the optional position option in figma.showUI(). Instead, plugins now always remember their last opened position by default.
  • Most prototyping properties are now available, read-only, under the proposed flag! Read more about these new properties. As always, let the Figma team know if these properties are working for you.
Recent Posts
Learn more about Figma