Skip to content

Andreslav/rotateOriginXY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

rotateOriginXY

A function for rotating nodes relative to a given point, which is specified by an offset from the upper left corner.

Example

const nodes = figma.currentPage.selection;
rotateOriginXY(nodes, 45, 100, 10);
rotateOriginXY(nodes, 45, .5, 0, "%", "px");
rotateOriginXY(nodes, 45, 1, 0, "%", "%");

About

Rotating nodes relative to a given point in the Figma

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors