# Example 9 AutoRun

![](/files/-MR-ERDbNATt6U7K_mB6)

We have had many requests for a endless runner type game. To create this with Game Creator, we have built an Auto Run feature that uses a the Prefab "Touchstick None". When combining this with a Swipe Up Trigger for Player Jump, and endless runner game is easily created.&#x20;

First, you must and the Prefab TouchstickNone to the Game Creator Preferences Panel.

![](/files/-MR-G9Ikz4OZqZWVxOca)

If you wish to test this (using Space bar for Jump and not swipe), you must select the Force Display in Editor check box. We have also chosen Discreet mode to lessen the player sliding.

![](/files/-MR-F7NwwKBkL6RE1Wmm)

Activate Auto Run using an On Start Trigger (the speed can be set in the player settings). Then with a Swipe Up Trigger,  add a Player Jump Action.

![](/files/-MR-FhBGQA7r9h78sRgc)

We have used a Follow Camera Motor for this example, but other camera motors will also work. The Set Auto Run Action also has a Side Scroll option for side scrolling games.

{% hint style="info" %}
If you uncheck *Can Run* in the Player settings, the Auto Run becomes Auto Walk.
{% 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://profpivec.gitbook.io/documentation-and-tutorials/game-creator/mobile-components-for-game-creator/examples/example-9-autorun.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.
