Skip to main content
Question

Is there a way to tell if rulers are visible?

  • December 20, 2023
  • 3 replies
  • 309 views

Cameron_McEfee

Howdy!

Is there a way to detect whether rulers are visible? I’m working on a plugin that adds guides and it’s confusing if the guides are added while the rulers are hidden, since it appears that nothing happens. I’d like to automatically turn the rulers on, but that doesn’t seem like an option at the moment.

Thanks for any input.

3 replies

Gayani_S
Figmate
  • Community Support
  • 1952 replies
  • December 21, 2023

Hey Cameron, you can check if rulers are enabled on the canvas.

  1. Click on to open the main menu.
  2. Go to View > Rulers.


Cameron_McEfee

Hi @Gayani_S, I’m referring to using the API to detect/change the ruler visibility status. I’m working on a plugin that ideally needs to be able to toggle the visibility state, or at least check what it is.


y_toku
Figmate
  • Community Support
  • 2320 replies
  • December 22, 2023

Hi there,

Sorry, but the endpoint you need isn’t available. Thanks for the voting post though – it’s a big help for our product team to see how much interest there is. Your feedback’s going to be super useful for improving things down the line. Thanks!

Toku


Reply


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