> 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/spikes/dynamic-spike-types/nearest-forward-multiple-spikes.md).

# Nearest Forward Multiple Spikes

Nearest Forward Multiple Spikes move the motor forward to the closest multiple of Factor plus Offset. Put another way:

$$NewPosition=Round↑(CurrentMotorPosition/Factor)∗Factor+Offset$$

Nearest Forward Multiple Spikes use the `→` icon in the Spike List to indicate that they are a nearest forward multiple.

## Change The Type

<figure><img src="/files/d4RLwocUVZiS1TwFVmjJ" alt="Dynamic Spike Edit Nearest Forward Multiple Type"><figcaption></figcaption></figure>

To change the type of spike, select the spike in the Spike List and then select nearest forward multiple from the type dropdown menu.

## Changing The Factor

<figure><img src="/files/EslFgTkzXFNJCBDQntEU" alt="Dynamic Spike Edit Nearest Forward Multiple Factor"><figcaption></figcaption></figure>

To change the factor double-click in the Factor column and give it a new factor.

## Changing The Offset

<figure><img src="/files/muKUwFlAc6LKjktkfSNL" alt="Dynamic Spike Edit Nearest Forward Multiple Offset"><figcaption></figcaption></figure>

To change the offset double-click in the Offset column and give it a new offset.

## Example

<figure><img src="/files/xH0UQojns8RfvBNbtnUX" alt="Dynamic Spike Example Nearest Forward Multiple"><figcaption></figcaption></figure>

In this example we want to rotate the turntable forward to the 9 o'clock position (assuming upstage is 12 o'clock and downstage is 6 o'clock). For this we set our factor to 360 degrees (one full revolution) and our offset to 270 degrees (9 o'clock).


---

# 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/spikes/dynamic-spike-types/nearest-forward-multiple-spikes.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.
