# PhysicsSliderJointDefinition

> Create a default PhysicsSliderJoint definition.

## Definition

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

## PhysicsSliderJointDefinition()

Create a default [PhysicsSliderJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicssliderjoint.md) definition.

```csharp
public PhysicsSliderJointDefinition()
```

## PhysicsSliderJointDefinition(bool)

Create a default [PhysicsSliderJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicssliderjoint.md)] definition.

```csharp
public PhysicsSliderJointDefinition(bool useSettings)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Controls whether the default settings come from the physics settings or not.
