Mesh->SetAnimationMode, where is AnimToPlay?

Hello Community, I have run into another snag i’m afraid. I’m not sure if I will be able to figure this one out. Maybe someone out there has the answer (Hopefully!)

I need to set the AnimToPlay although I am not sure how to do that. I have tried both

//Mesh->SetAnimation(PlayMe.Object);
//Mesh->PlayAnimation(PlayMe.Object, false);

///////////////////////////////////////////////////////////////////////
But it doesn’t seem to work. I mean it Play’s the animation, sure. But that isn’t what I want it to do. All I need is to set AnimToPlay so while i’m in the editor I can see that it is infact set to play rather then “none”. Thanks a bunch guys.

	Mesh->AttachTo(CapsuleComponent);
	Mesh->SetSkeletalMesh(TestingMesh);
	Mesh->SetWorldScale3D(FVector(2.0, 2.0, 2.0));
	Mesh->SetRelativeRotation(FRotator(0.0, -90.0, 0.0), false);
	Mesh->SetAnimationMode(EAnimationMode::AnimationSingleNode);

Mesh->SetAnimation(AnimMontage)

This is what works. But it does not work in the constructor; it needs to be used in BeginPlay or something other then the constructor.