How do i make a dodge/dash

I want to make my character dash disappear then reappear at the end also with some particles how would i go about doing this

In your character blueprint - add the particle for going into stealth, and turn off Auto Activate.

In the Event Graph, add a custom event to be called when they hide that.

  1. Activates the particle.
  2. Delays for a moment to allow it to begin showing.
  3. Hides the player
  4. Deactivates the stealth particles after an appropriate amount of time.

As example…


You can call it from whatever you like. To test it just add a Keyboard-Q or whatever, and have that [Vanish]

I have this set so that when they move, it makes them visible again.


But you need to make sure they are actually moving - if you are using the Example content - they call player movement whether any “movement” is to take place or not.

Adding a branch to be sure they are moving (the input is not 0) will keep them from coming out of hiding instantly on hiding.

You can call it from any action, Dash, Hide, etc. And you can use other methods to make them visible again.
I used movement because in most games that have stealth it ends it.

Ok so i did it but and works perfectly but only once when i try do it again it gets out of hiding instantly

What is your Set Visibility(to return to visible) tied to?

If you connect it to the Movement controls - you need the check to be sure they are actually trying to move. (Axis Value != 0)


If that is not working, you can just make a timer to check for actual motion, regardless of input (it also makes you appear if ‘bumped’ by an opponent, etc)

Set a Timer and create a corresponding Custom Event.

Have that check to see if you are "hidden’ and if so - Get Velocity.

get Vector Length from that to see how ‘fast’ you are moving (by any means) and become visible if there is significant movement.

yes! that did it thanks, 1 more thing could you tell me how make my character dash mid way of all this i tried with the launch character node but i cant get it working