Aligning Nodes
Aligning Nodes
To align selected nodes in a Script Canvas graph, you can use the context menu, hot keys, or the following alignment icons above the graph.
| Icon | Description |
|---|---|
![]() | Top align. |
![]() | Bottom align. |
![]() | Left align. |
![]() | Right align. |
To align all nodes in a selection to the topmost node
Use one of the following methods:
- Click Top Align \(![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lumberyard/latest/userguide/images/scripting/script-canvas/script-canvas-working-with-nodes-10.png)\).
- Press Shift + Up Arrow.
- Right-click the graph, and choose Align, Align top.
The following animated images show the first two methods.


To align all nodes in a selection to the bottommost node
Use one of the following methods:
- Click Bottom Align \( ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lumberyard/latest/userguide/images/scripting/script-canvas/script-canvas-working-with-nodes-11.png) \).
- Press Shift + Down Arrow.
- Right-click the graph, and choose Align, Align bottom.
The following animated images show the first two methods.


To align all nodes in a selection to the leftmost node
Use one of the following methods:
- Click Left Align \( ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lumberyard/latest/userguide/images/scripting/script-canvas/script-canvas-working-with-nodes-12.png) \).
- Press Shift + Left Arrow.
- Right-click the graph, and choose Align, Align left.
The following animated images show the first two methods.


To align all nodes in a selection to the rightmost node
Use one of the following methods:
- Click Right Align \( ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lumberyard/latest/userguide/images/scripting/script-canvas/script-canvas-working-with-nodes-13.png) \).
- Press Shift + Right Arrow.
- Right-click the graph, and choose Align, Align right.
The following animated images show the first two methods.





