Knockback actor the opposite direction where my mouse is

Hello, first of all my english is poor so if you don’t understand somewhere, pls ask me. I use topdown template and I am trying to figure out how to make an actor knock back when used ability or spell to the opposite direction from where my mouse or enemy is. I can do it only from some specific location but not entire world. And I don’t know why the more I take my mouse location away from actor, the more it look good. Actor get knocked forward whenever I place my mouse near him. This is my BP which I modified alittle from this thread Character knockback - Character & Animation - Unreal Engine Forums

I’m not sure where am I wrong, I’m still new to UE4. Thank you in advance.

vectors are groups of 3 numbers.
a vector can represent a location or a direction.
impact point is a location.
the add impulse node wants a direction.

if you have two locations then you can find the direction from location A to location B using the get unit direction vector node.

impact point is fine for location A, location B is the actor location.

Thank you very much, It’s work very good. I have another question, can I add specific number of force? because my actor get knocked back far away if I place my mouse near it but move slightly when my mouse far from it.

yeah i just tried it out and for some reason the impulse knock back is inconsistent as you mentioned.
it works better if you don’t push it in the z axis for some reason.

Seems to work fine on a physics cube. there could be a bug with the character movement add impulse node, but I suspect I’m just missing something.

I’m using your bp now, change impact point to location and tick velocity change in add impulse. And now everything look perfect! Thank you, you save me!