# Motor Messages

Motor messages affect a single motor.

***

## Motor Position

### /motor/{motor\_name}/position \[number]

**Read:** If no arguments are given, the current position of motor\_name is returned.

**Write:** If an argument is given, Spikemark will attempt to reset the motor\_name's position.

***

## Stop Motor

### /motor/{motor\_name}/stop

**Note:** Soft stops motor\_name.

***

## Reset Drive

### /motor/{motor\_name}/drive/reset

**Note:** Resets the drive of motor\_name.

***

## Spike Position

### /motor/{motor\_name}/spike/{spike\_name}/position \[number]

**Read:** If no arguments are given, then the position of spike\_name on motor\_name is returned.

**Write:** If an argument is given, Spikemark will attempt to set the position of spike\_name on motor\_name.

{% hint style="info" %}
This will update a spikes position which will affect every cue that uses the spike.
{% endhint %}

***

## Spike Factor

### /motor/{motor\_name}/spike/{spike\_name}/factor \[number]

**Read:** If no arguments are given, then the factor of spike\_name on motor\_name is returned.

**Write:** If an argument is given, Spikemark will attempt to set the factor of spike\_name on motor\_name.

{% hint style="info" %}
This will update a spikes factor which will affect every cue that uses the spike.
{% endhint %}

***

## Spike Offset

### /motor/{motor\_name}/spike/{spike\_name}/offset \[number]

**Read:** If no arguments are given, then the offset of spike\_name on motor\_name is returned.

**Write:** If an argument is given, Spikemark will attempt to set the offset of spike\_name on motor\_name.

{% hint style="info" %}
This will update a spikes offset which will affect every cue that uses the spike.
{% endhint %}

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.creativeconners.com/docs/spikemark-6/show-control/osc/input-triggers/osc-motor-messages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
