Dynamic textures on display objects

I’ve been searching for a while to no avail.

I have a tiled map with which I need to change the material of certain tiles (in the map editor)

Is there a way to do this without destroying the display object and re-creating it?

I’ve looked through the variables and methods in DisplayObject but didn’t see anything relevant.

Any information on the topic would be appreciated! Thanks!

Sprite object is the only way if you don’t want to recreate object.

Thanks I’ll do some research on sprite objects

Sprite object is the only way if you don’t want to recreate object.

Thanks I’ll do some research on sprite objects