Animation state graph 2D sprites

Hello,

I am currently trying to animate my character using an AnimStateGraph, like the one used in this example PlayCanvas | HTML5 Game Engine to make transition to different animations according to condition.

However, I am trying to use it with animated sprite because my project is in 2D but I am not able to use them inside my AnimStateGraph. Is there any solutions ? Here a link to my project. PlayCanvas | HTML5 Game Engine

Thank you for your help

2D sprites are not supported for Animation State Graph. You will unfortunately have to do this manually via code