| 1 |
--- |
| 2 |
title: "FixedNode" |
| 3 |
authors: ["@Ickshonpe"] |
| 4 |
pull_requests: [24323] |
| 5 |
--- |
| 6 |
|
| 7 |
`FixedNode` is a new marker component for Bevy UI. |
| 8 |
|
| 9 |
A UI node entity with the `FixedNode` component is positioned relative to the target camera's viewport rather than its parent element. `FixedNode`s don't inherit their parent's layout, clipping or transform context. |
| 10 |
|
| 11 |
In the Taffy layout (stored in `UiSurface`) there is nothing to distinguish `FixedNode`s and root nodes, so they are treated identically during updates. |