I have implemented a functionality to multiselect nodes. Instead of using a single transformer for all selected nodes, each node has its own transformer. I need help to ensure that when I resize one node, the same anchor point on all selected nodes gets triggered.
So, is it possible to ensure that when I resize one node from a specific anchor point, all other selected nodes resize from the same anchor point?
Current Situation:
-
I can select multiple nodes.
-
Each node has its own transformer.
-
When I resize one node from the upper-left anchor, other nodes resize but in the wrong direction (lower right corner)
What i want to achieve:
When I resize a selected node from a specific anchor point (e.g., upper-left), I want all other selected nodes to resize from the same anchor point (upper-left), not from any other anchor.
Example:
-
Select 3 nodes.
-
Resize one node from the upper-left anchor.
-
All selected nodes should resize from their upper-left anchors simultaneously.
Any guidance or examples would be greatly appreciated!
B.W. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.