> For the complete documentation index, see [llms.txt](https://docs.creativeconners.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.creativeconners.com/docs/spikemark-6/triggers/position-trigger.md).

# Position Trigger

<figure><img src="/files/Xg6sQFfI4ZKAjeUkFtTN" alt="Position Trigger"><figcaption></figcaption></figure>

A position trigger waits for a specified motor to reach or pass a target position, and then starts the following step.

For example if the position trigger is set at 100 inches and the motor is running forward then the trigger is looking for a position greater than or equal to 100 inches. If the motor is running in reverse then the trigger is looking for a position less than or equal to 100 inches.

## Editing

After you have [added a position trigger](/docs/spikemark-6/cues/cue-creation/add-triggers.md) click it to open the trigger editor.

<figure><img src="/files/GUl3rMLOoBCv0si8of58" alt="Position Trigger Editor"><figcaption></figcaption></figure>

* Select the motor that you want to monitor from the "Motor" dropdown list.
* Enter the target position in the "Watch Position" field.
* Click the "Save Changes" button to save your changes.

{% hint style="info" %}
The target motor doesn't have to be running on the same playback as the position trigger.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.creativeconners.com/docs/spikemark-6/triggers/position-trigger.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
