Skip to main content
Question

How to retain original transform of the node while using appendChild

  • December 16, 2024
  • 1 reply
  • 35 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?

This topic has been closed for replies.

1 reply

Yogesh Sirsat
  • New Member
  • 2 replies
  • January 21, 2025

@Tabish_Ahmed Have you found the solution?