# Defining stacking order or priority

You can specify how shapes are stacked when they overlap or their stacking order. To move shapes in front of or behind other shapes, use the "Bring to front" or "Send to back" commands from the "Layout" menu.

Stacking order is with respect only to other shapes in the same group or image. In other words, the "Bring to front" command will bring the selected shape to the front of all other shapes in that group, but not necessarily to the front of all shapes in the window.

SIMSCRIPT users can use the “Edit/Image” option to change the priority integer value of the image. Images with higher numbered “priority” values will be displayed on top of lower priority ones when your program is running.