Playing run animation when enemy see player

Hi !

I’m currently having an issue : I want my enemy, when he sees the player, to play it’s animation “scream” then start to run after the player.
So what I’ve done is create a float variable in my Enemy Blueprint called “EnnemySee” and I set this variable to 1 after 1 second :

https://forums.unrealengine.com/filedata/fetch?filedataid=141320&type=thumb

But after when I go to to my Enemy Animation Blueprint and I cast my enemy blueprint and verify if the vaiable enemysee is to one (to enable transition) that’s what I’m getting :

https://forums.unrealengine.com/filedata/fetch?filedataid=141323&type=thumb