Some context I am working on a voxel game (like minecraft). I can not use a prebuilt texture atlas as I need to allow players to add custom blocks to the game.
I have two functions that help me show different animations on my SKSpriteNode, but I need the alpha mask of this Sprite to change whenever the texture changes