# Sandbox.Scene.ISceneEditorSession.SelectedGameObject

```csharp
GameObject SelectedGameObject { get; set; }
```

If we have any gameobjects selected, return the first one

Declared in [Sandbox.Scene.ISceneEditorSession](/api/Sandbox.Scene.ISceneEditorSession).
Assembly: `Sandbox.Engine`.
