# Joint Sensor

> Documentation version: 3.0
> HTML: https://docs.flarelive.manifolddynamics.com/reference/sensors-and-io/joint-sensor.html
> [Complete contents](https://docs.flarelive.manifolddynamics.com/contents.md) · [Agent index](https://docs.flarelive.manifolddynamics.com/llms.txt)

Flare Live **3.0** · **Scene Object** · API type `simexp.rigid_bodies.joint_sensor`.

Attach directly to a Joint-Body Pair. Output count/order equals the parent's joint DOFs. Mode selects Position, Velocity or Acceleration. Revolute values use rad, rad/s, rad/s²; prismatic values m, m/s, m/s².

The default mode is Velocity, so select Position explicitly for angle feedback. An unattached detached schema cannot tell you the final channel count. Read runtime object_details after parenting.

## Properties

Values below are defaults for new objects. See [common properties](https://docs.flarelive.manifolddynamics.com/reference/common/properties.md) for shared fields, case-sensitive API paths and conditional visibility.

| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
| --- | --- | --- | --- |
| `mode` | 1; 0=Position, 1=Velocity, 2=Acceleration | Selects position, velocity or acceleration for every output channel. Each channel follows the parent joint's coordinate order and units listed below. | No |

## Simulation input/output

No inputs. Output follows the parent joint's coordinate order:

| Parent joint | Count | Position / Velocity / Acceleration units |
| --- | --- | --- |
| Revolute | 1 | rad / rad/s / rad/s² |
| Prismatic | 1 | m / m/s / m/s² |
| Free | 6 | Angular X/Y/Z, then linear X/Y/Z; angular units followed by linear units. |
| Fixed | 0 | No movable coordinates. |

The default Mode is Velocity. Select Position for angle feedback. For the Free joint's rotation-coordinate convention, see [Free Joint-Body Pair](https://docs.flarelive.manifolddynamics.com/reference/rigid-bodies/free-joint.md).
