Remove texture

Hello
How can i remove texture from sprite?
I tried sprite.setTexture(null) but sprite change him texture to green empty phaser image(black rect with diagonal green line)

Okay, i solved it : obj.setTexture(undefined);
It looks a little crutch, but it works :saluting_face:

You can’t, really — the rendering would break. You probably want

obj.setVisible(false);
1 Like