Copy link to clipboard
Copied
please who can help me to make this path created to come with position center of anchors point ?
change the top parameter from - to +
from this
var rect = group.pathItems.rectangle(pos[1] - 5, pos[0] - 5, 10, 10); // Adjust the size and position as needed
to this
var rect = group.pathItems.rectangle(pos[1] + 5, pos[0] - 5, 10, 10); // Adjust the size and position as needed
Copy link to clipboard
Copied
What do you want the script to do?
Copy link to clipboard
Copied
change the top parameter from - to +
from this
var rect = group.pathItems.rectangle(pos[1] - 5, pos[0] - 5, 10, 10); // Adjust the size and position as needed
to this
var rect = group.pathItems.rectangle(pos[1] + 5, pos[0] - 5, 10, 10); // Adjust the size and position as needed
Copy link to clipboard
Copied
Wow this is amazing thank you
Find more inspiration, events, and resources on the new Adobe Community
Explore Now