# GetPhysicsScene(Scene)

> An extension method that returns the 3D physics Scene from the Scene.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
public static PhysicsScene GetPhysicsScene(this Scene scene)
```

### Parameters

**** (\[Scene]\(/engine/6000.0/script-reference/unityengine/scenemanagement/scene)): The Scene from which to return the 3D physics Scene.

### Returns

| Type                                                                        | Description                             |
| --------------------------------------------------------------------------- | --------------------------------------- |
| [PhysicsScene](/engine/6000.0/script-reference/unityengine/physicsscene.md) | The 3D physics Scene used by the Scene. |

### Remarks

Returns the [PhysicsScene](/engine/6000.0/script-reference/unityengine/physicsscene.md) that is assigned to the selected [Scene](/engine/6000.0/script-reference/unityeditor/searchservice/scene.md). The [Scene](/engine/6000.0/script-reference/unityeditor/searchservice/scene.md) may have created its own local 3D physics Scene in which case this provides access to that. Alternately the [Scene](/engine/6000.0/script-reference/unityeditor/searchservice/scene.md) may be using the default 3D physics Scene ([Physics.defaultPhysicsScene](/engine/6000.0/script-reference/unityengine/physics/defaultphysicsscene.md)) in which case that will be returned instead.

Additional Resources: [PhysicsScene](/engine/6000.0/script-reference/unityengine/physicsscene.md) and [Scene](/engine/6000.0/script-reference/unityeditor/searchservice/scene.md).
