Create Dynamicaly Panel Sprite object and assign Image Filename

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

Yes. I did research and found nothing.

How do I…

Create a new Panel Sprite Object in a scene, and assign the image filename, from the event?

I have a set of asset with properties define in a json file, and would like to create those Panel Object at the start of the game, with the image file name from the json file.

I have not been able to find an action that will let me change the image filename, with a variable, like “Picture” + Index + “.jpg”

My option right now is to manually create those objects, manually set the image filename, and update them every time my json file is updated.

What is the expected result

Capability to update Panel Sprite Image filename, with a variable name, and not fixed name.

What is the actual result

N/A

Related screenshots

N/A

Project files (optional)

N/A