[Solved]CreateObject - Javascript error

I am using javascript because I want to send information from one scene to another scene with the items that will be used in lvl.

I need to change an object variable - do you know how I do it using javascript? I tried :

obj_1.Variables (). get (‘id’). setNumber (001);

but the error if I change the id of the object I can manipulate it outside the code.