- Home /
Animating the sortingOrder property of a Renderer
I'm writing an importer for Spriter projects and I'd like to be able to animate the sortingOrder of a sprite using Unity's animation system.
Curiously enough you can't add keyframes for it, neither in the editor, nor via code. Does anyone have a workaround for that? I want to avoid writing a script that does it, because everything else is working fine via the native animation system so far.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613152500im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to animate a sprite mask? 0 Answers
Sprite animation 2 Answers
How to make not smooth animation? 0 Answers
Animation System in 4.3 1 Answer