# joint.motor-invalid

> Talos 0.7 · Since 0.6

`ctx.joint.setMotor` was given a target that is not finite, a `maxForce`, `stiffness` or `damping` that is negative or not finite, a `mode` other than `velocity` or `position`, or no `maxForce` for the joint's first motor

| | |
|---|---|
| Severity | `error` |

## Meaning

`ctx.joint.setMotor` was given a target that is not finite, a `maxForce`, `stiffness` or `damping` that is negative or not finite, a `mode` other than `velocity` or `position`, or no `maxForce` for the joint's first motor

## Fix

pass finite numbers, 0 or more for the three magnitudes, and a `maxForce` the first time
