I have a sprite called "Coins" and it has an instance variable of "CoinValue_IV". There are more than one instances of the same "Coins" sprite presents on the layout. Depending upon the "CoinValue_IV" of each instance, the user will get 100, 500, 1000 coins respectively.
So, my question is, How do I add all the instance variable value ("CoinValue_IV") of the "Coins" sprite?
Means, if the user will collect all the coins, total how many he will have on that particular stage.
on every tik, but it doest work.