# Create(Vector2, Vector2)

> Create a Segment.

## Definition

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

```csharp
public static SegmentGeometry Create(Vector2 point1, Vector2 point2)
```

### Parameters

**** (\[Vector2]\(/engine/6000.3/script-reference/unityengine/vector2)): The first local point.**** (\[Vector2]\(/engine/6000.3/script-reference/unityengine/vector2)): The second local point.

### Returns

| Type                                                                                                | Description           |
| --------------------------------------------------------------------------------------------------- | --------------------- |
| [SegmentGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/segmentgeometry.md) | The created geometry. |
