If & else loop in ue4 (help)!

hi (sorry for my english ). today i want to make if & else loop in ue4 but i can not find it in blueprint . i can see’ branch’ only and that is not good for my project
.
i created a TPS project and i want to if player hold shift button player move with speed i can make it but i want move with speed in 4 - 5 second and if player released shift after 2 - 3 second player To be able to hold shift and move with speed → do you understand my mean ? :slight_smile:
thank

http://s5.picofile.com/file/8137963326/Capture333.PNG

Your quastion is more related time, why you need if else? Brach is this kind of node

no no
i can not say i mean :expressionless:
can you transform this code to blueprint ? (this code is not real this is just for say me mean )
.

Here. This should be the thing you want to make in BP.
I haven’t tested it, but it should do the thing you want.
Or at least give you a hint on what you can do.

AND i’m not sure if this is the right way to multiplay
the delta times. Could be that it should be multiplied
at another position. Just try it.

http://puu.sh/bfjQo/8987407075.png

thanks it is true