Skip to main content
Question

How to change page mode from the plugin API


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 comments

2 replies

tank666
  • 4863 replies
  • 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
  • 4863 replies
  • January 5, 2024

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