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?