> For the complete documentation index, see [llms.txt](https://docs.kia.dev/motion/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kia.dev/motion/core-components/sprint-component.md).

# Sprint Component

The Sprint Component provides an alternative movement mode for players. When holding (or pressing) the Sprint Key, the player accelerates towards a sprint bonus speed that can be configured in this component.

The component also detects if the player is moving backwards or sideways and aborts the sprint. \
\
While the player sprints, a camera shake is applied.&#x20;

When the player stops sprinting, the applied camera shake gradually wears off.

### Configuration

<table><thead><tr><th width="251">Variable</th><th>Description</th></tr></thead><tbody><tr><td>Is Input Toggle</td><td>If true, the input key is used as toggle. This is especially useful for use on gamepads where it is more tiring to hold down a button.</td></tr><tr><td>Sprint Speed</td><td>Speed in Units per second that the character should accelerate towards to, on top of their base speed, when sprinting.</td></tr><tr><td>Sprint Shake Curve</td><td><p>The curve vector used to move the camera when sprinting.<br><br>The <code>Red</code> line, X, translates to the <strong>Roll</strong> added to the camera.</p><p>The <code>Green</code> line, Y, translated to the <strong>Pitch</strong> added to the camera.</p><p>The <code>Blue</code> line, Z, translates to the <strong>Yaw</strong> added to the camera.<br><br><img src="/files/eqdHGdrWCc2LTnbRsYwZ" alt=""></p></td></tr><tr><td>Sprint Shake Fallout Smoothness</td><td>Interpolation Speed used to smooth the current camera shake towards null, once the player stops sprinting.<br>If the speed is 0, it will immediately jump to the target position.</td></tr><tr><td>Sprint Acceleration Curve</td><td>The curve float used to accelerate the player into sprinting to <code>SprintSpeed</code>.</td></tr><tr><td>Show Debug Information</td><td>If true, various useful variables will be printed on the screen to help with debugging.</td></tr></tbody></table>
