Skip to main content
Question

How to change page mode from the plugin API

  • December 5, 2023
  • 2 replies
  • 715 views

Matthew_Sear

I am currently working on a plugin using the Figma API, and I’m facing some challenges in finding a way to access the Figma page mode that I’m currently on. I need to access the page layer mode and be able to change the mode in the plugin.

Can anyone help?

This topic has been closed for replies.

2 replies

tank666
  • December 13, 2023

Currently, the PageNode does not have a getter and setter for variable mode. But it is still possible to get the applied modes via the REST API (or by exporting the page in the JSON_REST_V1 format).


tank666
  • January 5, 2024