I got an animation of blocks changing the colors, when the there's a click in the block, the color animation stops and I want to get the color that the block stopped.
I noticed that a SKSpriteNode have a SKTexture attribute, but I can't reference it by calling:
node.texture
I get an error that the node does not have a membed named 'texture', but in debugger the texture is there:
<SKSpriteNode> name:'(null)' texture:[<SKTexture> 'orange@2x.png' (40 x 40)] position: {604.6412353515625, 205.83619689941406} size:{20, 20} rotation:0.0
I want to get the 'orange@2x.png' name of a Node, so I can compare it later.