---
title: motorTargetLinearVelocity
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnphysicssliderjoint/motortargetlinearvelocity
---

# motorTargetLinearVelocity

The velocity at which the joint’s connected bodies should slide.

## Declaration

```swift
var motorTargetLinearVelocity: CGFloat { get set }
```

## Discussion

Discussion At the default value of 0.0, the joint moves only when an external force acts on one of its connected bodies. Changing this value causes the joint to act as a linear motor, continuously applying a force (specified by the motorMaximumForce property) until its connected bodies are moving along the sliding axis of the joint at the new velocity.

## See Also

### Applying Forces and Torques

- [motorMaximumForce](scenekit/scnphysicssliderjoint/motormaximumforce.md)
- [motorTargetAngularVelocity](scenekit/scnphysicssliderjoint/motortargetangularvelocity.md)
- [motorMaximumTorque](scenekit/scnphysicssliderjoint/motormaximumtorque.md)
