I am trying to make a game that has string variables which are saved as the name of a sprite, I don't know anything about javascript on how to do that, and the event sheet "System" doesn't have a way to access objects using strings from variables. Also, I need to somehow set and animation from the beginning but I don't know how to do that.
here is the code: runtime.objects[Obj1].getFirstInstance().setAnimation("Back")
also, I mostly use Lua as another programming language so I am not used to this.