i am new on FastLed and need help.

i am new on FastLed and need help.
how can i change the number of leds at runtime?

i know there is no direct way in fastled but are other capabilities possible?

Thanks for Help!

Define the array to max size, but then in your designs use a variable to store the actual length

array to max size is clear. but please can you explain me how to store the actual length?
Thank you.

@Pascal_Muller ok, now i understand. You mean i should set the variable NUM_LEDS to the amount of real used leds.
thank you.