The Instances Bar shows all the instances in the current layout at a glance, it can be very useful in large or busy layouts to quickly find specific instances.
You can also use folders to group related instances together. Hierarchies are shown as a tree structure to quickly tell which instances are where in complex structures.
To open the Instances Bar tick the check at Menu►View►Bars►Instances Bar.
Folders
To add a folder right-click anywhere in the bar and choose the appropriate option from the context menu.
Once a folder is created you can drag & drop instances in and out of them by dragging the items in the bar.
It is also possible to drag instances into a folder directly from the Layout View.
The order in which instances appear in the bar can also be altered by dragging and dropping.
Hierarchies
Hierarchies can be set directly in the bar by dragging and dropping items on top of each other. Dragging an instance from the Layout View on top of an item in the bar will also work for this purpose.
Hierarchy in the Instances bar |
Hierarchy in the Layout View |
|
|
Context menu options
Common
These options are shown with any context menu in the bar.
- Add folder: adds a new folder.
- Expand / Collapse: expand or collapse all items with nested content.
-
Show more information: show additional information about each instance.
- Hierarchies: show an icon next to instances which have children. In the case an instance has a parent in a different layout (which can happen when working with global layers), that layout will also be shown next to the item.
- Meshes: show an icon next to instances which have a mesh and also show the horizontal and vertical size of the mesh.
- Layers & Layouts: show an icon indicating if the layer is global and the name of the layer the instance belongs to. If the layer is not part of the current layout, also shows the layout the layer is coming from.
- Plugin: show the icon and the name of the plugin.
- Templates: template and replica instances show a unique icon as well as the corresponding template name.
- Timelines: show an icon next to instances belonging to a timeline as well as the names of the timelines the instance belongs too.
Folder
These options are shown when showing a context menu for a folder.
- Rename: rename the selected folder.
- Delete: delete the selected folders.
Instances
These options are shown when showing a context menu for an instance or group of instances. Some are equivalent to the context menu options with the same names found on context menus of the Layout View.
- Timeline: shown for all instances as long as there is a timeline in the project. Will have different options depending on how the instance relates to the current timeline. This is the same as the equivalent Layout View context menu option.
- Tilemap: only shown for Tilemap plugin instances. This is the same as the equivalent Layout View context menu option.
- Z Order: shown for all instances. This is the same as the equivalent Layout View context menu option.
- Hierarchy: shown for instances that are already part of a hierarchy or when selecting multiple instances. This is the same as the equivalent Layout View context menu option.
- Template: shown only for instances which are either a template or a replica. This is the same as the equivalent Layout View context menu option.
- Mesh: shown for all instances that support meshes. This is the same as the equivalent Layout View context menu option.
- Flash selection: will make the current selection blink in the Layout View.
- Scroll selection into view: scroll the Layout View to show the selected instances.
- Lock / Unlock layer: Toggle the lock state of the layer the selected instance belongs to.
- Toggle layer visibility: Toggle the visible state of the layer the selected instance belongs to.
- Delete: The the selection of instances.
- Find all references: searches the whole project for the selected instance.
Icons
Depending on what Show more information for option is selected, additional icons might be shown next to an instance to better identify it.
The locked layer and invisible layer icons are shown at all times when applicable.
Global Layers
When a layout is showing instances that are coming from a global layer a few unique items will appear in the bar to make it more clear where those instances are coming from.
In the image below you can see the special Global instances folder and a Layout item showing which instances are coming from a global layer.
In that example the current layout is OtherLayout and the bar is showing that some instances shown are coming from a global layer in the Game layout. At the bottom you can see the Layers & Layouts option is toggled so all instances are showing which layer they belong too.
The globe icon next to some instances indicates they are part of a global layer. Instances which don't have a globe are not part of any global layer in the current layout.
Instances highlighted in red are shown in the bar because they belong to the Game layout, but are not in any global layer in the current layout. Those instances also have an icon showing they are not visible.
Instances from a global layer |
Instances not in any global layer |
|
|
Searching
Use the search field at the top of the bar to filter instances. Items are filtered using the following criteria and order:
- Any match with the item name as shown in the bar.
- Any match with the Object type name.
- Any match with the plugin name.
- Any match with any of the tags an instance might have.
- Any match with the template name an instance might have.
- Using the special "mesh" (or it's translated form) string will match all instances which have a mesh.
- Using the special "hierarchy" (or it's translated form) string will match all instances which are part of a hierarchy.