Instances Bar

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 MenuViewBarsInstances 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.
  • Select all instances: select all the instances in the folder.

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.
  • Select layer: select the layer which the selected instance belongs to. This is the same as selecting a layer through the Layers bar.
  • Delete: delete the the selection of instances.
  • Cut, Copy and Paste: these options do the same as the ones in the Layout view context menu.
  • 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 layer visibility checkbox and layer lock icon are shown at all times to change the corresponding visibility and locked states of each instance individually at any time.

Locking and Visibility

Locking instances through the Instances bar is similar to locking them using the Layout View context menu option Lock selection. This means this locked state is independent from the locked state of the corresponding layer.

Toggling visibility of an instance works in a similar way to the locked state in that it is independent to the visibility state of the corresponding layer.

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.

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:

  1. Any match with the item name as shown in the bar.
  2. Any match with the Object type name.
  3. Any match with the plugin name.
  4. Any match with any of the tags an instance might have.
  5. Any match with the template name an instance might have.
  6. Using the special "mesh" (or it's translated form) string will match all instances which have a mesh.
  7. Using the special "hierarchy" (or it's translated form) string will match all instances which are part of a hierarchy.

Drag & Drop

As mentioned earlier it is possible to drag & drop instances within the bar to arrange them in which ever way is more useful.

It is also possible to drag instances from the bar into the Layout View, which will create clones of the dragged instances in the dropped position.

Dragging instances from the Layout View into the Instances Bar has the same effect as dragging the corresponding items within the Instances bar.

Construct Animate Manual 2024-11-26