How to unlock X\Yposition 3 seconds on start

Hi I’m Making a game called Cube Run.

The
player controls a cube moving through a course to the end of the level.

The game plays as follows the player move left and right on the Y axis the player also move forward constantly on the X axis.

I would like the player’s movement to be lock on start and after 3 seconds the player is able to move

                                   My blueprint are belowalt text

You could try disable input, add a delay, then enable input like so:

Edit: Just noticed you are directly setting x on tick, if you want to disable that as well set your MoveForward variable to 0 then reset it after the delay

thanks I would like to know how to set the MoveForward variable to 0 then reset it after the delay

Sure, no problem. Set the default value to 0, then just drag your variable out and do set (enter whatever value you want for your speed) and connect it after after the delay like this:

thanks, How set this question to resolve?

There should be a check mark under the up/down arrows.

Also, I just noticed a mistake in that last BP. The player controller should be plugged into the player controller pin (not target) on the enable input node :slight_smile:

can you be more pacific?

no I men my question in answer HUB I got an satisfying answer my question I need know how label my question as resolve.

Edit I figured out set my question as resolve. thanks for the help I hope you
enjoy my game when it coms out.

Do you mean on the BP?