Skip to main content
Question

Figma plugin - Property to differentiate between rotated and flipped items

  • September 22, 2022
  • 2 replies
  • 744 views

Hemalatha_Palanisamy

I have a particular element that is horizontally flipped which is giving rotation as 180 deg. I am not able to identify that, whether it is horizontally flipped or is it normally rotated by 180 deg using the properties provided by Figma. It is just that the X co-ordinate got changed during horizontal flipping which can not be used in differentiating rotation against flipping. Let me know your inputs on this.

2 replies

tank666
  • 4859 replies
  • September 22, 2022

Besides the rotation property, you need to check the transformation matrix (absoluteTransform, relativeTransform).

figma.com

Seongjin
  • 1 reply
  • October 10, 2023

Thank you so much!!

I’m in a similar situation, but I think finally find a answer. 😁


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