Anim Notify State problem

Hi guys!

I am having big issue about Anim Notify State in my game. I overrided ,Received_NotifyTick’’ function and I need it to stop ticking when the condition is true. I tried gates, do once nodes, branches but nothing works. I need to just quit ticking when for example line trace collision is true.

Please help me…