Skip to main content
Tabish_Ahmed
December 16, 2024
Question

How to retain original transform of the node while using appendChild

  • December 16, 2024
  • 1 reply
  • 65 views

"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
January 21, 2025

@Tabish_Ahmed Have you found the solution?