> 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="https://784345943-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxcUmJ78NSw1bSUlSO9oP%2Fuploads%2F5RUz89tCMgua1qD3JKQF%2Fimage.png?alt=media&amp;token=436dd8b8-7001-4684-a398-a4dba44d56ee" 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.
