Skip to content

Add absoluteTransform property to node objects in REST API #55

Description

@Xiaobei-QuQ

Issue Description:
Currently, the Figma REST API only provides the relativeTransform property for nodes, which represents the transformation matrix relative to the node's parent. However, there are many use cases where developers need the absolute transformation matrix that represents the node's position and transformation in the global coordinate system.
Current State:

Nodes only expose relativeTransform property
To calculate absolute position, developers must manually traverse the node tree and compose transformation matrices
This is error-prone and computationally expensive for deeply nested structures

Requested Feature:
Add an absoluteTransform property to node objects that provides the cumulative transformation matrix from the root canvas to the specific node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions