# Create(PhysicsWorld, PhysicsSliderJointDefinition)

> Create a PhysicsSliderJoint in the specified world.

## Definition

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

```csharp
public static PhysicsSliderJoint Create(PhysicsWorld world, PhysicsSliderJointDefinition definition)
```

### Parameters

**** (\[PhysicsWorld]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld)): The world to create the joint in.**** (\[PhysicsSliderJointDefinition]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicssliderjointdefinition)): The joint definition to use.

### Returns

| Type                                                                                                      | Description        |
| --------------------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsSliderJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicssliderjoint.md) | The created joint. |
