New to Arduino, with simple controlling LED question

how can i control multiple LEDs? there’s an image attachment below, i would like to know if it is possible to control these LEDs one by one but i dont know how to do the circuitry
i heard IC decoders can improve my circuit but i dont know hot to use them well yet, i think i will be facing lack of pins, but i want to maximize the use of pin as i cant afford another module to increase my pin capacity.
i’m planning to manipulate an array of LEDs

to be arranged like these

1 2 3 4 5 6
7 8 9 10 11 12
13 14 15 16 17 18

i’m sorry for the bad english
btw, am I in the right section?
thank you and god bless

This is the best approach

Or this can be used if you want to let the Arduino do the multiplexing

Hello. You say you want to control them one at a time? Do you mean only one led will be lit at a time? If so, just connect your 3 groups of cathodes(?) to three more Arduino pins via 3 series resistors.


holy shit! guys! i got your points!, thank you so much!, i'll enjoy researching more on these
I've been trying to figure things out alone for quite some time now, no regrets approaching you guys
thank you so much! :smiley: