You can add instance variables to Sprite objects as well.
Although are you talking about displaying a different frame, accordingly to the "number" of the sprite ?
In this example the animation speed is at 0, meaning that the sprite acts as a "bank" of images, displaying a single fixed image.
The project file was made in the latest beta R177 - construct.net/en/make-games/releases/beta/r177
what i am trying to do is sum all the variables of an objects and show in a text for example sprite1.Number = 1, sprite1.Number = 4 sprite1.Number = 5, = text.text = 1 + 2 + 3 = 10