Change a part setting
tinkercad_set_partAdjust settings on an existing circuit part—such as potentiometer position or ultrasonic sensor distance—to test different inputs between simulation runs.
Instructions
Changes a setting on a part that is already in the circuit, e.g. a potentiometer position (0-1) or the distance an ultrasonic sensor sees. Use it between simulation runs to test different inputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| props | Yes | friendly settings, e.g. {"position": 0.8} or {"distance_cm": 40} |