Need help - Buttons + LED blinking

Right button pressed -> Right LED blinking until Right button pressed -> Right LED off
Left button pressed -> Left LED blinking until Left button pressed -> Left LED off

It's blinking, but not turn off :frowning: Pls help

Here Code:

int button_right = 2;
int button_left = 3;
int led_right = 5;
int led_left = 6;

int buttonState_right = 0;
int buttonState_left = 0;

void setup()
{
  pinMode(button_right, INPUT);
  pinMode(button_left, INPUT);
  pinMode(led_right, OUTPUT);
  pinMode(led_left, OUTPUT);
  Serial.begin(9600);
}

void loop()
{
  buttonState_right = digitalRead(button_right);
  buttonState_left = digitalRead(button_left);
  
  if (buttonState_right == HIGH) // First Right Button pressed
  {
   Blinking_right(HIGH);
  }
    
  if (buttonState_right == HIGH) // Second Right Button pressed
  {
   while (Blinking_right) 
   {
    Blinking_right(LOW);
   }
  }
  
   if (buttonState_left == HIGH) // First Left Button pressed
  {
   Blinking_left(HIGH);
  }
    
  if (buttonState_left == HIGH) // Second Left Button pressed
  {
   while (Blinking_left) 
   {
    Blinking_left(LOW);
   }
  }
 }

void Blinking_right(boolean right) {
  digitalWrite(led_right, HIGH);
  delay(300);
  digitalWrite(led_right, LOW);
  delay(300);
}

void Blinking_left(boolean left) {
  digitalWrite(led_left, HIGH);
  delay(300);
  digitalWrite(led_left, LOW);
  delay(300);
}

Your tying yourself in knots over this.
Set a Boolean variable that says which LED is blinking.

In the loop test that variable and blink left or right.
Then look at the buttons and see if you need to change that variable.