# ShapeAndShape(PhysicsShape, PhysicsTransform, PhysicsShape, PhysicsTransform)

> Check the intersection between two shapes ( PhysicsShape ).

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public static PhysicsShape.ContactManifold ShapeAndShape(PhysicsShape shapeA, PhysicsTransform transformA, PhysicsShape shapeB, PhysicsTransform transformB)
```

### Parameters

**** (\[PhysicsShape]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape)): The first shape to use.**** (\[PhysicsTransform]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform)): The transform used to specify where the first geometry is positioned.**** (\[PhysicsShape]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape)): The second shape to use.**** (\[PhysicsTransform]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform)): The transform used to specify where the second geometry is positioned.

### Returns

| Type                                                                                                             | Description                                            |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| [ContactManifold](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape/contactmanifold.md) | The contact manifold fully detailing the intersection. |
