title: Get texture name from a Node - Swift/Spritekit
body: <p>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.</p>
  
  <p>I noticed that a SKSpriteNode have a SKTexture attribute, but I can't reference it by calling:</p>
  
  <pre><code>node.texture
  </code></pre>
  
  <p>I get an error that the node does not have a membed named 'texture', but in debugger the texture is there:</p>
  
  <pre><code>&lt;SKSpriteNode&gt; name:'(null)' texture:[&lt;SKTexture&gt; 'orange@2x.png' (40 x 40)] position: {604.6412353515625, 205.83619689941406} size:{20, 20} rotation:0.0
  </code></pre>
  
  <p>I want to get the 'orange@2x.png' name of a Node, so I can compare it later.</p>