Set the value of a variable, equals to the value of another variable

Hey there, i am trying to set a variable to the value of another variable (both strings). For example, i have a variable called Itemname which value is “Hammer”. I have another variable called ItemStored, but this is empty. At the beginning of the scene, i want to set the variable ItemStored = to the variable Itemname. The problem is, when i do this, the value of ItemStored is blank. (I use a text object to see the value of ItemStored at all times.) I’m not sure what im doing wrong, it seems really clear to me. Can anyone help me please?

Yeah, i did that but it was more like item.itemname. It still doesnt work.

Please show me a screen record and a screenshot from your events


Does Hammer actually exist on the scene? Object variables only exist as a “template”, and then only actually have data if they have instance on the scene itself.

If you’re creating the object after the start of the scene, there’s no variable to use at the beginning of the scene.

ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh, no, they aren’t in the scene yet,basicaslly, they are created only if the object contained item value matches the object name item value. I see, ok, thanks. I guess i would store them offscreen then call them into frame ig. Thanks for the help!