# Size()

> The data size of the point element. This can be useful in understanding the memory stride in a ComputeBuffer or other structure.

## Definition

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

```csharp
public static int Size()
```

### Returns

| Type                                                       | Description        |
| ---------------------------------------------------------- | ------------------ |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The size in bytes. |
