# Get

> Returns this world in a form that can be written through.

## Definition

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

## Get(PhysicsWorld)

Returns this world in a form that can be written through.

```csharp
public static PhysicsWorld Get(this PhysicsWorld physicsWorld)
```

### Parameters

**** (\[PhysicsWorld]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsworld)): The world to return.

### Returns

| Type                                                                              | Description     |
| --------------------------------------------------------------------------------- | --------------- |
| [PhysicsWorld](/engine/6000.7/script-reference/unity/u2d/physics/physicsworld.md) | The same world. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use world.Get().gravity = gravity in place of world.gravity = gravity.

## Get(PhysicsBody)

Returns this body in a form that can be written through.

```csharp
public static PhysicsBody Get(this PhysicsBody physicsBody)
```

### Parameters

**** (\[PhysicsBody]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsbody)): The body to return.

### Returns

| Type                                                                            | Description    |
| ------------------------------------------------------------------------------- | -------------- |
| [PhysicsBody](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody.md) | The same body. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use body.Get().linearVelocity = velocity in place of body.linearVelocity = velocity.

## Get(PhysicsShape)

Returns this shape in a form that can be written through.

```csharp
public static PhysicsShape Get(this PhysicsShape physicsShape)
```

### Parameters

**** (\[PhysicsShape]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsshape)): The shape to return.

### Returns

| Type                                                                              | Description     |
| --------------------------------------------------------------------------------- | --------------- |
| [PhysicsShape](/engine/6000.7/script-reference/unity/u2d/physics/physicsshape.md) | The same shape. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use shape.Get().property = value in place of shape.property = value.

## Get(PhysicsComposer)

Returns this composer in a form that can be written through.

```csharp
public static PhysicsComposer Get(this PhysicsComposer physicsComposer)
```

### Parameters

**** (\[PhysicsComposer]\(/engine/6000.7/script-reference/unity/u2d/physics/physicscomposer)): The composer to return.

### Returns

| Type                                                                                    | Description        |
| --------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsComposer](/engine/6000.7/script-reference/unity/u2d/physics/physicscomposer.md) | The same composer. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use composer.Get().useDelaunay = useDelaunay in place of composer.useDelaunay = useDelaunay.

## Get(PhysicsChain)

Returns this chain in a form that can be written through.

```csharp
public static PhysicsChain Get(this PhysicsChain physicsChain)
```

### Parameters

**** (\[PhysicsChain]\(/engine/6000.7/script-reference/unity/u2d/physics/physicschain)): The chain to return.

### Returns

| Type                                                                              | Description     |
| --------------------------------------------------------------------------------- | --------------- |
| [PhysicsChain](/engine/6000.7/script-reference/unity/u2d/physics/physicschain.md) | The same chain. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use chain.Get().friction = friction in place of chain.friction = friction.

## Get(PhysicsJoint)

Returns this joint in a form that can be written through.

```csharp
public static PhysicsJoint Get(this PhysicsJoint physicsJoint)
```

### Parameters

**** (\[PhysicsJoint]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsjoint)): The joint to return.

### Returns

| Type                                                                              | Description     |
| --------------------------------------------------------------------------------- | --------------- |
| [PhysicsJoint](/engine/6000.7/script-reference/unity/u2d/physics/physicsjoint.md) | The same joint. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use joint.Get().property = value in place of joint.property = value.

## Get(PhysicsDistanceJoint)

Returns this distance joint in a form that can be written through.

```csharp
public static PhysicsDistanceJoint Get(this PhysicsDistanceJoint physicsDistanceJoint)
```

### Parameters

**** (\[PhysicsDistanceJoint]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsdistancejoint)): The distance joint to return.

### Returns

| Type                                                                                              | Description              |
| ------------------------------------------------------------------------------------------------- | ------------------------ |
| [PhysicsDistanceJoint](/engine/6000.7/script-reference/unity/u2d/physics/physicsdistancejoint.md) | The same distance joint. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use joint.Get().property = value in place of joint.property = value.

## Get(PhysicsFixedJoint)

Returns this fixed joint in a form that can be written through.

```csharp
public static PhysicsFixedJoint Get(this PhysicsFixedJoint physicsFixedJoint)
```

### Parameters

**** (\[PhysicsFixedJoint]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsfixedjoint)): The fixed joint to return.

### Returns

| Type                                                                                        | Description           |
| ------------------------------------------------------------------------------------------- | --------------------- |
| [PhysicsFixedJoint](/engine/6000.7/script-reference/unity/u2d/physics/physicsfixedjoint.md) | The same fixed joint. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use joint.Get().property = value in place of joint.property = value.

## Get(PhysicsHingeJoint)

Returns this hinge joint in a form that can be written through.

```csharp
public static PhysicsHingeJoint Get(this PhysicsHingeJoint physicsHingeJoint)
```

### Parameters

**** (\[PhysicsHingeJoint]\(/engine/6000.7/script-reference/unity/u2d/physics/physicshingejoint)): The hinge joint to return.

### Returns

| Type                                                                                        | Description           |
| ------------------------------------------------------------------------------------------- | --------------------- |
| [PhysicsHingeJoint](/engine/6000.7/script-reference/unity/u2d/physics/physicshingejoint.md) | The same hinge joint. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use joint.Get().property = value in place of joint.property = value.

## Get(PhysicsIgnoreJoint)

Returns this ignore joint in a form that can be written through.

```csharp
public static PhysicsIgnoreJoint Get(this PhysicsIgnoreJoint physicsIgnoreJoint)
```

### Parameters

**** (\[PhysicsIgnoreJoint]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsignorejoint)): The ignore joint to return.

### Returns

| Type                                                                                          | Description            |
| --------------------------------------------------------------------------------------------- | ---------------------- |
| [PhysicsIgnoreJoint](/engine/6000.7/script-reference/unity/u2d/physics/physicsignorejoint.md) | The same ignore joint. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use joint.Get().property = value in place of joint.property = value.

## Get(PhysicsRelativeJoint)

Returns this relative joint in a form that can be written through.

```csharp
public static PhysicsRelativeJoint Get(this PhysicsRelativeJoint physicsRelativeJoint)
```

### Parameters

**** (\[PhysicsRelativeJoint]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsrelativejoint)): The relative joint to return.

### Returns

| Type                                                                                              | Description              |
| ------------------------------------------------------------------------------------------------- | ------------------------ |
| [PhysicsRelativeJoint](/engine/6000.7/script-reference/unity/u2d/physics/physicsrelativejoint.md) | The same relative joint. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use joint.Get().property = value in place of joint.property = value.

## Get(PhysicsSliderJoint)

Returns this slider joint in a form that can be written through.

```csharp
public static PhysicsSliderJoint Get(this PhysicsSliderJoint physicsSliderJoint)
```

### Parameters

**** (\[PhysicsSliderJoint]\(/engine/6000.7/script-reference/unity/u2d/physics/physicssliderjoint)): The slider joint to return.

### Returns

| Type                                                                                          | Description            |
| --------------------------------------------------------------------------------------------- | ---------------------- |
| [PhysicsSliderJoint](/engine/6000.7/script-reference/unity/u2d/physics/physicssliderjoint.md) | The same slider joint. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use joint.Get().property = value in place of joint.property = value.

## Get(PhysicsWheelJoint)

Returns this wheel joint in a form that can be written through.

```csharp
public static PhysicsWheelJoint Get(this PhysicsWheelJoint physicsWheelJoint)
```

### Parameters

**** (\[PhysicsWheelJoint]\(/engine/6000.7/script-reference/unity/u2d/physics/physicswheeljoint)): The wheel joint to return.

### Returns

| Type                                                                                        | Description           |
| ------------------------------------------------------------------------------------------- | --------------------- |
| [PhysicsWheelJoint](/engine/6000.7/script-reference/unity/u2d/physics/physicswheeljoint.md) | The same wheel joint. |

### Remarks

See [PhysicsHandleExtensions](/engine/6000.7/script-reference/unity/u2d/physics/physicshandleextensions.md) for why this is needed. Use joint.Get().property = value in place of joint.property = value.
