Hello guys.
I am creating the objects with script:
runtime.objects.Sprite.createInstance (layer, x, y)
And I wanted to set variables for this Sprite right away with script too, like:
runtime.objects.Sprite.createInstance (layer, x, y)
set Sprite.name = "lorem ipsum"
runtime.objects.Sprite2.createInstance (layer, x, y)
set Sprite2.name = "lorem ipsum"
But I don't know how to do this.