Skip to main content
Question

How to retain original transform of the node while using appendChild

  • December 16, 2024
  • 1 reply
  • 26 views

Tabish_Ahmed

"I want the selected shape node to become a child of a specific frame while keeping its position and rotation unchanged. When I manually drag and drop the shape into the frame using the Figma Layers panel, this works perfectly (left frame in the image). However, when I try to do the same using the Figma Plugin API, the shape’s position and rotation are altered (right frame in the image). Any way to achieve the same programmatically?

1 reply

Yogesh Sirsat

@Tabish_Ahmed Have you found the solution?


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