Independent LED control in a matrix
As @Kartman says you have limited control over an individual LED.
The usual way around this is to rapidly cycle through the rows at &gt;50 times per second and only illuminate the LEDs in that row you wish to be active. Any particular LED will only be on for 1/8th of the time as there are 8 rows. The current needs to accommodate this to meet the brightness requirements.
Persistence of vision will make it seem that all the LEDs that are turned on seem to be illuminated at once.
Most displays that have multiple LEDs use this or a similar multiplexing technique, whether it is an alarm clock with just a few digits each with 7 segments or an OLED TV with millions of LEDs.
Cross activation of elements other than the desired ones is a facto of life with multiplexed displays but luckily LEDs have built-in diodes to avoid it being an issue. If you used other types of lamp such as incandescent then you would need to include a diode in series with each.
Multiplexed display – the basics