# PhysicsWorld.WorldCounters

> PhysicsWorld counters that give details of the world simulation size.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public struct PhysicsWorld.WorldCounters
```

## Properties

| Property                                                                                                                         | Description                                                          |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [awakeContactCount](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/awakecontactcount.md)           | The number of contacts active during the previous simulation step.   |
| [bodyCount](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/bodycount.md)                           | The number of all body types.                                        |
| [broadphaseHeight](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/broadphaseheight.md)             | The broadphase tree height for both Dynamic and Kinematic bodies.    |
| [contactCount](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/contactcount.md)                     | The number of contacts.                                              |
| [islandCount](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/islandcount.md)                       | The number of islands.                                               |
| [jointCount](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/jointcount.md)                         | The number of joints.                                                |
| [recycledContactCount](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/recycledcontactcount.md)     | The number of contacts recycled in the previous simulation step.     |
| [shapeCount](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/shapecount.md)                         | The number of shapes.                                                |
| [stackUsed](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/stackused.md)                           | The number of bytes assigned to the Stack allocator.                 |
| [staticBroadphaseHeight](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/staticbroadphaseheight.md) | The broadphase tree height for Static bodies.                        |
| [taskCount](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/taskcount.md)                           | The number of multi-threaded tasks requested solving the simulation. |
| [usedMemory](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/usedmemory.md)                         | The total byte allocation used by the physics system.                |

## Static Methods

| Method                                                                                             | Description                                           |
| -------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [Add](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/add.md)         | Add the specified world counters together.            |
| [Maximum](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/worldcounters/maximum.md) | Find the maximum values the specified world counters. |
