How do i insert items to an array without variables [ i think solved]

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

I am trying to input a value (string, but id like to know how for other values) into an array, i have checked gDevelop documentation but the best result i have found is the example below. how can i get smthng like that to happen without making a seperate variable? (because it makes the code look cluttery) sorry if im not good at explaining cuz im new

What is the expected result

Explain what should happen when you run the game.

What is the actual result

Explain what is happening instead, what is going wrong.

Related screenshots

Please include a screenshot of the full related events including both conditions and actions.
And screenshots to help showing us the issue.

Project files (optional)

Insert a minimal game showing your issue in a .zip or .rar.

Have you tried:

well id like to insert a string without variables so it may not help

That IS inserting a value into a variable. The name may be a tad confusing, but it means you are adding a text/number/boolean into an array variable:


oh, i feel dumb now. thanks

Don’t feel dumb these action names are misleading