> For the complete documentation index, see [llms.txt](https://docs.plume.moe/norska/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plume.moe/norska/magic-properties/usdframe.md).

# $frame

Executes specific code for each rendered frame, e.g. run effects, update controls, etc.

```html
<div
    x-3.mesh
    x-effect="$frame(() => $i.rotation.y += 0.01)"
>
<!-- ... -->
</div>
```
