Selecting GameObjects in Unity

Gert Coppens
2 min readMay 9, 2021

--

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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Gert Coppens
Gert Coppens

Written by Gert Coppens

Software Engineer — Unity Game and Application Developer

No responses yet

Write a response