Selecting GameObjects in Unity

By default Unity highlights selected objects with an outline color in orange and children of that object with a blue outline color. Under Preferences you can change the color.

You can select one or multiple GameObject(s) either from the Scene View or from the Hierarchy Window.

To select a single GameObject

Scene above from Sci Fi Space Soldier by PolygonR

Click on it in the Scene View. Repeatedly clicking on shared space between overlapping GameObjects will cycle through the selection.

Or click on its name in the Hierarchy Window

Scene above from Sci Fi Space Soldier by PolygonR

To select or deselect multiple GameObjects

Drag a rectangle around multiple GameObjects.

By holding Shift you can add more objects to the selection, with control you can remove them. You can do this in the Scene View and the Hierarchy Window.

Sometimes you’ll find it useful to adjust the Scene picking controls, you can mark specific GameObjects as unpick-able preventing them from being added to the selection. You can find more info about it here.

Previous | Next

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gert Coppens

Gert Coppens

Software Engineer — Unity Game and Application Developer