Control WS2812B LEDs With Infrared Obstacle Avoidance Sensor

I have this project for school and im trying to get 3 LED’s at a time to light up at a time when the sensor is tripped

The way it is setup is its a 4x4 box table that is in sections and in each section has 3 LED’s connected with one sensor. So 16 sensors and 48 LED’s

This code that i have here is for a different size table with 1 LED in each section

#include “FastLED.h”
#define NUM_LEDS 45
#define LED_PIN 2
#define COLOR_ORDER GRB
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<WS2812, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS);
FastLED.setBrightness(brightness);
// Set the 45 proximity sensors pins as inputs, from digital pin 3 to pin 48
for (int pinNo = 0 + 3; pinNo <= 45 + 3; pinNo++) {
pinMode(pinNo, INPUT);
}
}
void loop() {
for (int pinNo = 0; pinNo <= NUM_LEDS-1; pinNo++) {
leds[pinNo] = CRGB( 0, 255, 0); // Set all 45 LEDs to green color
// If an object is detected on top of the particular sensor, turn on the particular led
if ( digitalRead(pinNo + 3) == LOW ) {
leds[pinNo] = CRGB( 0, 0, 255); // Set the reactive LED to bluee
}
}
FastLED.show(); // Update the LEDs
delay(20);
}

so can someone help me to try to get 3 of them to light up in a section rather than 1

The sensors are plugged into digital 3-19
The LED strip is plugged into Digital 2