int platformSmallSPriteId;platformSmallSPriteId = sprite.GetSpriteIdByName("PlatformSmall");...sprite.spriteId = platformSmallSpriteId