For some reason when i align an objet with a rule set to 160px from the border of the frame, when i click ALT it showed that the pixel is 161px off the border.
This somtimes happens to the left, and sometimes happen to the right.
Hi
I understand you're seeing a pixel discrepancy: you set an object's position to 160 from the frame border, but when you hit Alt, it shows 161.
From the recording you shared, it looks like your selected frame's "X" position is set to 160, with its rotation at 0°. This means the top-left corner of that layer's bounds is at X:160 on your canvas. You can find more details here: Position.

To get the horizontal distance between the objects to match the X axis of your selected frame, you'll need to make sure the other object you're measuring from has its "X" position set to 0. I just tested this on my end, and the horizontal measurements between objects are displaying as expected.
Could you please double-check the X Position and rotation settings for both objects you're trying to measure the distance between?
If you've reviewed the position settings for both objects and checked the linked guide above, and you're still seeing the same issue, would you mind sharing some screenshots or a recording again? This time, please make sure:
- Include your whole Figma screen
- Expand the layers in the Layers panel
- Show the Position settings for each relevant layer
This will really help us understand exactly what you're seeing and how we can best assist you.
Thanks,
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.