> For the complete documentation index, see [llms.txt](https://kinemation.gitbook.io/scriptable-animation-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinemation.gitbook.io/scriptable-animation-system/fundamentals/animator-layers/sway-layer.md).

# Sway Layer

## Description

**Sway Layer** is responsible for applying movement, aiming and dead-zone sway effects to your weapon.

## Properties

<figure><img src="/files/51QI97Mb89dxTThhgAmG" alt="" width="394"><figcaption><p>Sway Layer Settings</p></figcaption></figure>

**Free Aiming:**

* **Head Bone:** this element will be used to rotate around to achieve dead zone aiming.
* **Free Aim Clamp**: max free aim value.
* **Free Aim Interp Speed**: smoothing speed for free aiming.
* **Free Aim Input Scale**: free aim sensitivity.
* **Free Aim Space**: the space to apply in.
* **Free Aim Space**: what space the effect will be applied in.
* **Use Free Aim Property**: a bool input property which will enable or disable free aiming.

**Move/Aim Sway:**

* **Damping**: damping factor in range \[0;1].
* **Stiffness**: oscillation factor in range \[0;1].
* **Speed**: spring interpolation speed.
* **Scale**: global spring effect scale.
* **Target Damping Speed**: how it will go to zero.
* **Sway Space:** the space where a sway effect will be applied.
* **Move Input Property:** a Vector4 input property that will define the user's local movement direction.
* **Mouse Delta Input Property:** a Vector4 input property that defines delta input from the mouse.


---

# 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://kinemation.gitbook.io/scriptable-animation-system/fundamentals/animator-layers/sway-layer.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.
