# Configuring Physics Core 2D API scenes

> Configure 2D physics objects and global settings, and attach custom data to physics objects.

Configure properties such as gravity, friction, position, and shape on a world, body, or shape using the Physics Core 2D API.

> **Note:**
>
> This documentation is about writing C# scripts using the `Unity.U2D.Physics` API. To use 2D physics in the Unity Editor using components like the Rigidbody 2D component, refer to [2D physics](/engine/6000.6/manual/unity2d/2d-physics.md.md) instead.

| **Topic**                                                                                                                                 | **Description**                                                                                                          |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| [Configure objects with definitions](/engine/6000.6/manual/unity2d/2d-physics-api/properties/definitions.md)                              | Create a definition object to configure properties such as gravity, friction, position, and shape.                       |
| [Configure global Physics Core 2D API settings](/engine/6000.6/manual/unity2d/2d-physics-api/properties/class-physics-core-settings2d.md) | To configure layers, default definition values, and global settings, create and assign a Physics Core Settings 2D asset. |
| [Attach custom data to objects](/engine/6000.6/manual/unity2d/2d-physics-api/properties/custom-data.md)                                   | Attach values and physics masks to physics objects so you can fetch them later.                                          |

## Additional resources

* [Configure global Physics Core 2D API settings](/engine/6000.6/manual/unity2d/2d-physics-api/properties/class-physics-core-settings2d.md)
* [Attach custom data to Physics Core 2D API objects](/engine/6000.6/manual/unity2d/2d-physics-api/properties/custom-data.md)
