How to move a pawn to location within a time? Kismit?

Hi,

I would like to give a pawn a location and for in to move to the location within a define time period. Does anyone know of any function which could do this?

I’ve tried looking into UKismetSystemLibrary::MoveComponentTo but this does not seem to work. Here is my test implementation that sits within the tick function. (ignore the if(counter) just for testing). I would really appreciate any help on this.

	if (counter == 400) {
		UE_LOG(LogTemp, Warning, TEXT("count: %i"), counter)

		FVector Diff = Player1Position - Player2Position;
		FLatentActionInfo test;
		UKismetSystemLibrary::MoveComponentTo(Player1_Mesh[1],
			FVector(0.f,0.f,0.4f),
			FRotator(0.f, 0.f, 0.0f),
			false,
			false,
			3.0f,
			false,
			EMoveComponentAction::Type::Move,
			test);
	}