2D Rotation and Draw Layers
date: 06/28/2026
Anvil now supports basic 2D rotation and sprite draw layers.
What changed
Section titled “What changed”- Added rotation to the Transform2D component
- Exposed rotation in the inspector
- Added draw layer control to Sprite Renderer
- Sorted quad submissions before rendering
Why this matters
Section titled “Why this matters”Sprites can now be rotated and ordered without relying only on entity creation order. This gives the editor a more usable 2D workflow and prepares the renderer for sprites, tilemaps, UI, and particles.
Next steps
Section titled “Next steps”- Improve inspector layout
- Add texture support
- Add sprite asset loading
- Add scene serialization for new component fields