Swap the coin's id and data in place with board.setSymbolAt(cell, id, data). It rewrites the ledger entry and returns the new live symbol, so lockedCoins stays correct; repaint the label from the new data. It throws on a free cell, and while a wave is in flight. Call await respin() first. On a plain ReelSet the equivalent is reelSet.setSymbolAt(reel, cell, symbolId), which carries no payload.
How do I upgrade a coin's value tier in place (5, 10, 25)?
More in Coins, values, collectors & jackpots
- How do I print a money value on a coin?
- How do I format the value as 0.00 with a bitmap gold font?
- How do I scale the number to fit the coin face?
- How do I attach the value as data without baking it into the id?
- My coin is a mystery. How do I spin values inside it to reveal the number it held?
- How do I land a coin wearing a MINI/MAJOR word and reveal it into a money face?
- How do I show MINI/MINOR/MAJOR/GRAND jackpot plaques above the reels?
- How do I flash the matching jackpot plaque when its coin locks?