Direction between two point - add unit distance to player

i have a game which have two type of control one is joy stick and another is player will move towed your touch

// FOR JOYSTICK
Vector3 headingPosition = joystickpad.position - joystickController.position;
float distance=  headingPosition.magnitude;
Vector3 directtion = headingPosition / distance;
additionValue = directtion * speed;
player.transform.position -= additionValue;

//FOR PLAYER FOLLOW TOUCH
Vector3 headingPosition = player.transform.position - mousePosition;
float distance=  headingPosition.magnitude;
Vector3 directtion = headingPosition / distance;
additionValue = directtion * speed;
player.transform.position -= additionValue;

my player moves in right direction but the speed of both is difference. how can i make both the speed equal.

i have also tried with normalized but its not working

Try this:

// FOR JOYSTICK
 Vector3 headingPosition = joystickpad.position - joystickController.position;
 float distance=  headingPosition.magnitude;
 Vector3 directtion = headingPosition / distance;
 additionValue = directtion.normalized * speed;
 player.transform.position -= additionValue * Time.deltaTime;
 
 //FOR PLAYER FOLLOW TOUCH
 Vector3 headingPosition = player.transform.position - mousePosition;
 float distance=  headingPosition.magnitude;
 Vector3 directtion = headingPosition / distance;
 additionValue = directtion.normalized * speed;
 player.transform.position -= additionValue * Time.deltaTime;