# 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&#x26;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.


---

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