How do i check to see if ai is still alive, in level blueprint?

hey everyone i need help, i have an enemy i have set to move to location, using 2 simple move to location nodes and 2 different target points, it then hooks back to the first move to location node, so the enemy will go back and forth between target points, that part works fine, but when i kill the enemy i get a error message saying cant find enemy to move to the target points so i was wondering if i could hook a branch some how to check to see if enemy is alive before he moves to location. hope that makes sense.

If you’re move to command is in the enemy’s AI controller it will destroy with the enemy character. But it sounds like you’re calling the move to form elsewhere if so you could use ‘IS VALID’ node before calling move to. Post a screenshot of you’re blue print if this does not work.

IS VALID doesnt seem to work, because the object is destroyed in the level so it cant get the reference to it any longer to check to see if it is valid. I will try setting it up in the AI controller and if that wont work i will try to post screen shots later, thanks for the suggestions