Set projectile collision on dash

I’ve tried the following (see image) but the cast seems to keep failing. I think the object connection is somehow wrong but no idea what to put there.



What I want to do is:

When the player starts dashing, function [ProjectileCollisionOFF] gets called and it casts to my ProjectileAI BP and disables the collision for the sphere component.

I don’t know if there is a better way to do this.

Any help is welcome and appreciated!

I have found a different solution to my problem, but hey it works now.
instead of changing the collision I have changed the ‘actor tag’ on ‘dash’ to ignore the projectile.

Let me know if there is a better or more efficient way to achieve this.