I created a global stack, and now every time an event is triggered. i want to store the object the event was triggered in, to the stack. This object then has to be edited by a command block. for example. //THIS_OBJECT ds_stack_push(gemSwap, "THIS_OBJECT"); ///i want to store the reference to the object or anything that will let me edit it in command block //Command block var obj = ds_stack_pop(gemSwap); obj.x = 100; gem swap is the stack my object is in, and i want the data location to be loaded and then the x variable of that data location to be edited. i already wrote code to do all the editing, however..... there seems to be no good way to reference the object from it's self. i tried instance_id, but it's a read only? and it seems to affect all my objects in the room which stem from the same parent. side note, i'm making a match 3 prototype, so most objects i'm dealing with all have the same parent and code, and multiple instances of each child. i want to be able to affect only 1 instance at a time.