# Sandbox.Physics.PhysicsJoint.CreatePulley

```csharp
static PulleyJoint CreatePulley(PhysicsBody body1, PhysicsBody body2, Vector3 anchor1, Vector3 ground1, Vector3 anchor2, Vector3 ground2)
```

> **Obsolete.**

### Parameters

- `body1` (`PhysicsBody`)
- `body2` (`PhysicsBody`)
- `anchor1` (`Vector3`)
- `ground1` (`Vector3`)
- `anchor2` (`Vector3`)
- `ground2` (`Vector3`)

### Returns

`PulleyJoint`

Declared in [Sandbox.Physics.PhysicsJoint](/api/Sandbox.Physics.PhysicsJoint).
Assembly: `Sandbox.Engine`.
