So i am new to c++, i made a system where an actor goes in a direction and returns back to the original place in tick function, my code is like this
What i want to do is set a delay of a 1 or 2 sec at the start of “else” but i dont have any idea how to do it, can someone help me pls.