sprite-kitxcode8sktexturesceneeditor

How do I remove a texture from a Color Sprite in the Scene Editor?


I want to remove the texture I chose in my colour sprite. But, not replace it with a different texture. Instead I want to just use a colour fill.

But I try to delete the texture in the attributes inspector and it just refills the box with the texture name after I click off. It won't remove the texture.

How can I just remove the texture in the scene editor and get a color sprite that is just a colour fill?

I just want a square box that has physics properties that I can either fill with a colour or make it colourless.

enter image description here


Solution

  • To remove a texture do the following for a workaround

    Press Return while the texture name is highlighted in the attributes inspector box. This removes the texture.