I am receiving an error code when trying to bind sprinting action to the shift key. The error states, no instance of overloaded functions "UInputComponent::BindAction" matches the argument list

Hey thiberjam,

BindAction delegates don’t take any arguments but you are passing “float Value” in.

Change them to:

void OnStartSprint(); 
 void OnEndSprint();

 void APenmen::OnStartSprint()
 {    
     GetCharacterMovement()->MaxWalkSpeed = 5400.f;
 }
 
 void APenmen::OnEndSprint()
 {
     GetCharacterMovement()->MaxWalkSpeed = 50.f;     
 }