Is there a way to make a button list as a csv row?

I was wondering if there is a way to make a button list as a csv row? If so, how?

I know text and image lists work in rows, but I can’t get a button lists to work…

1 Like

You can use Dynamic Buttons and For Each element block

I was just wondering if I could make buttons on excel and copy them into a csv row… I was able to copy rows into Kodular using excel with other elements, but not buttons. I made an app where I had to use a program to code in 280 buttons, but I caused Kodular to slow down.

It is unfortunately not possible with components

/Boban

1 Like

So if I had a game with 500 levels on a level select, would I need to make a list with all 500 blocks? Or is there a way to simplify the code?

I’m just trying to figure out the most efficient way to code these buttons…

Would it be better to code 100 buttons in a list, then join however many hundreds of buttons together in a larger list?

Amm :point_up_2: Maybe with this

Do I need to create a fitebase database for the buttons?

Are the any examples of how to use dynamic buttons and for each element to create a button list?

No, don’t require Firebase

You can use a variable with a CSV text with names :upside_down_face:

Like this:

level 1, level 2, level 3, level 4

Then, For each number in list: list from CSV record -global csv

Add a Button

I think I’m close, but I’m not sure what’s wrong:

This can help you, i think (Sorry, screenshot in Spanish)

I really can’t seem to get it to work right after trying many different ways…

I’m not sure I’m trying to create buttons, I’m just trying to get the buttons from a table in the designer page into a list, so I can change all button images and functions at once without making a list too large for Kodular to support.

Sorry to be a bother… thank you all for trying to help…