I finally did it haha, it was GetLastInputVector(). As shown below:
void AJuniorProgrammerTestCharacter::Dashing()
{
const FVector Dash = this->GetCharacterMovement()->GetLastInputVector();
if (GetCharacterMovement()->Velocity != FVector::ZeroVector)
{
LaunchCharacter(Dash * DashDistance * DashSpeed, true, true);
}
}
This allowed my character to dash based on the direction of my input