Skip to main content
Solved

Option key not measuring distance between layers?


Wolfgang_H

For some reason, it’s not working when I hold down the option key like it usually does. It shows me the distance to the edges, but not between layers.

The help page says…

“Overlapping layers may prevent you from being able to measure the distance between nested objects. This includes masks, locked layers, and layers with low opacity fills.”

…But I don’t think that’s what’s happening here. I’ve attached a Figma file you can check out, and a screen recording. Thanks team!

Figma – 13 May 21

[EDIT – SEMI SOLVED] I realized I can hold option+command to measure the distance between the layers within the groups, but still curious what the overarching problem here is.

Best answer by Gleb

The “iOS Foreground” object here is hijacking the hovering so you are measuring the distance to it.

View original
This topic has been closed for comments

6 replies

Gleb
  • Power Member
  • 4706 replies
  • Answer
  • May 13, 2021

The “iOS Foreground” object here is hijacking the hovering so you are measuring the distance to it.


Wolfgang_H
  • Author
  • 29 replies
  • May 13, 2021

I see. I thought it wouldn’t do this, since the layer is locked, but I see that it starts working when I actually hide that layer.


Gleb
  • Power Member
  • 4706 replies
  • May 14, 2021

Yeah I don’t know why it works this way, I guess it makes more sense in some contexts when developers are inspecting elements (otherwise they won’t be able to inspect the locked ones maybe).


Wolfgang_H
  • Author
  • 29 replies
  • May 15, 2021

Yeah, you’d just expect it to work the other way around, so that holding command would allow them to measure to the locked objects. Or, the developer could just lock/unlock layers. But the command+opt measurement solves the problem, so it doesn’t really matter. Just less intuitive for n00bs like myself.


Gleb
  • Power Member
  • 4706 replies
  • May 15, 2021

For developers the deep select is reverted (they need to hold cmd to not deep select) so for them it actually works the way you are expecting. That’s probably one of the reasons it was implemented this way.


woodywoodsta

Apologies to bump an old topic which is marked as solved, but how exactly are we supposed to solve the larger issue?

It’s not possible in my situation to hide all the layers that sit underneath the two objects that I would like to inspect. What would have made much more sense to me is if you hold the option key down, the measurement is made between the item that is selected and the item which is surrounded in purple signifying the item being hovered? Otherwise, if you have content which sits underneath items, you will never be able to measure between that content.


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