# useMultithreading

> Should physics simulation use multithreading?

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public bool useMultithreading { get; set; }
```

### Remarks

Turning on multithreading executes the simulation steps using the job system, and uses the options in [PhysicsJobOptions2D](/engine/6000.5/script-reference/unityengine/physicsjoboptions2d.md) to control how to achieve that. Turning off multithreading executes the simulation only on the main thread, and does not use the options in [PhysicsJobOptions2D](/engine/6000.5/script-reference/unityengine/physicsjoboptions2d.md).
