Version: Unity 6.6 Alpha (6000.6)
Language : English
Undo History window
Searching in the Unity Editor

Navigate through your Editor selection history

Cycle backward or forward through your recently selected objects in the Unity Editor.

The Editor records your last 50 selections as you work. If you accidentally change your selection, you can navigate backward and forward through your selection history to reselect the item you want.

The Editor records any selection that displays an object in the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
window. For example, when you select a GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
in the Hierarchy window or an asset in the Project window. You can also cycle through your selections as you navigate through the folder tree in the Project window.

Some packages, such as Shader Graph and VFX Graph, also register additional selections in the history.

You can navigate the selection history in the following ways:

  • Use keyboard shortcuts.
  • Use the Selection History controls in the toolbarA row of buttons and basic controls at the top of the Unity Editor that allows you to interact with the Editor in various ways (e.g. scaling, translation). More info
    See in Glossary
    .
  • Select Edit > Previous Selection or Edit > Next Selection in the main menu.

If you create an Editor window or tool with custom selections, you can use Selection.RegisterCustomHandler and Selection.SetCustomSelection to record those selections in the selection history.

Navigate to your previous or next selection

To return to a previous selection, press Ctrl+Shift+[ (macOS: Cmd+Shift+[), or select Previous Selection in the toolbar.

If you have changed your selection to a previous selection, press Ctrl+Shift+] (macOS: Cmd+Shift+]), or select Next Selection in the toolbar to move forward to a more recent selection.

The Editor disables the toolbar buttons when there are no selections in that direction of the history.

Additional resources

Undo History window
Searching in the Unity Editor