# Why doesn't my UE4 character perform an animation?

I have it so that when the character collides with a pushable mesh, it casts to her blueprint and sets ispushing to true, and in her Animation Blueprint, it again casts to her blueprint and sets ispushing? to true. I did this code exactly the same before and it worked, but then the program crashed and I had to redo it.

• Have you checked your casts are working? Plug a print string into each of the cast fails just to make sure that's not the problem. – Stephen Jan 11 at 9:09