How do i do an action in character blueprint when seen (using pawn sensing) by an AI?

is the code firing at all?