# Navigate through your Editor selection history

> Use keyboard shortcuts or toolbar buttons to return to previously selected objects in the Editor.

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 Editor window. For example, when you select a GameObject 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](https://docs.unity3d.com/Packages/com.unity.shadergraph@latest) and [VFX Graph](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@latest), 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 [toolbar](/engine/6000.7/manual/unity-editor/editor-navigating-managing/toolbar-lp/toolbar-reference.md).
* 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`](/engine/6000.7/script-reference/unityeditor/selection/registercustomhandler.md) and [`Selection.SetCustomSelection`](/engine/6000.7/script-reference/unityeditor/selection/setcustomselection.md) 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

* [Editor toolbar](/engine/6000.7/manual/unity-editor/editor-navigating-managing/toolbar-lp.md)
* [Toolbar reference](/engine/6000.7/manual/unity-editor/editor-navigating-managing/toolbar-lp/toolbar-reference.md)
* [Undo History window](/engine/6000.7/manual/unity-editor/editor-navigating-managing/undo-window.md)
* [Keyboard shortcuts](/engine/6000.7/manual/unity-editor/editor-navigating-managing/shortcuts-manager.md)
