I am not sure this is possible with how Construct2 works.
Why are you needing to create an instance variable during runtime?
because in this concept, players may add new vars to objects.
A somewhat hacky way to do that would be to use a container with said object, and a dictionnary. Adding a "new" instance variable would be as simple as adding a key to the linked dictionnary.
thanks. ill try it