> For the complete documentation index, see [llms.txt](https://kinemation.gitbook.io/fps-animation-framework/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/fps-animation-framework/fundamentals/animation-layers/leg-ik.md).

# 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.
