When i spawn vehicle with spawn actor function in gamemode, it doesn't move

But when i drag vehicle blueprint on level, it moves.

Why only second case moves?

How can i solve it with 1st case? i want to move vehicle with 1st case.

The PlayerController most likely doesn’t possess the vehicle.

So in order to control the vehicle, you have to find the appropritate PlayerController and call PlayerController::Possess