# Leg IK

## Basics

This layer uses a simple downtrace method to prevent leg clipping. This layer is usually added as the last layer in the list.

<figure><img src="/files/yOvHp2sjucS1Knrtl50e" alt="" width="338"><figcaption></figcaption></figure>

## Settings

* **Foot Trace Length** - the length of the downward raycast.
* **Height Offset** - start trace point offset. By defualt, it uses the hips position.
* **Foot Interp Speed** - interpolation speed.
* **Layer Name** - layer mask name.


---

# 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/fps-animation-framework/fundamentals/animation-layers/leg-ik.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.
