# How can single objects be deleted using cesium js

**URL:** https://community.cesium.com/t/how-can-single-objects-be-deleted-using-cesium-js/14736
**Category:** CesiumJS
**Created:** [August 6, 2021, 7:18am UTC](https://community.cesium.com/t/how-can-single-objects-be-deleted-using-cesium-js/14736 "2021-08-06T07:18:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![abhi](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/abhi/32/3476_2.png) [@abhi](https://community.cesium.com/u/abhi)
#### Post date: [August 6, 2021, 7:18am UTC](https://community.cesium.com/t/how-can-single-objects-be-deleted-using-cesium-js/14736/1 "2021-08-06T07:18:41Z")

</div>

I have a 3d tileset in which I have 3d objects (citygml format). I want to be able to delete single feature permanently in the tileset in some way and cannot figure out a way to do so.  
please help !

---

<div class="post-metadata">

### Author: ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)
#### Post date: [August 10, 2021, 6:38pm UTC](https://community.cesium.com/t/how-can-single-objects-be-deleted-using-cesium-js/14736/2 "2021-08-10T18:38:48Z")

</div>

@abhi

Thank you for your post and welcome to the community 🎊

Specifically, what kind of features are you looking to permanently delete?

-Sam

---

<div class="post-metadata">

### Author: ![abhi](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/abhi/32/3476_2.png) [@abhi](https://community.cesium.com/u/abhi)
#### Post date: [August 11, 2021, 5:11am UTC](https://community.cesium.com/t/how-can-single-objects-be-deleted-using-cesium-js/14736/3 "2021-08-11T05:11:10Z")

</div>

@sam.rothstein

Thank you so much for your response and welcome!!  
Im looking to permanently delete specific 3d tiles objecs

 ![Screenshot (8)](https://global.discourse-cdn.com/cesium/original/2X/5/58443adb3ce5696f250a11d10fd0cfbf0ef9161e.jpeg)  
these kind of features

---

<div class="post-metadata">

### Author: ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)
#### Post date: [August 11, 2021, 2:42pm UTC](https://community.cesium.com/t/how-can-single-objects-be-deleted-using-cesium-js/14736/4 "2021-08-11T14:42:48Z")

</div>

@abhi

I suspect that using the `Cesium3DTileSyle` object is our best bet for this application.

[https://cesium.com/learn/cesiumjs/ref-doc/Cesium3DTileStyle.html?classFilter=cesium3](https://cesium.com/learn/cesiumjs/ref-doc/Cesium3DTileStyle.html?classFilter=cesium3)

As you know, each 3D Tiles object has metadata such as the height, material, zip code, etc. I suggest finding metadata that is unique to the asset that you wish to remove (such as the address) and using this to toggle `show`. For instance, if the asset you wish to remove has the address “5 Jane Ave”, then

```auto
show : '${Address} != "5 Jane Ave"'

```

Would suffice. _ **Please check out our 3D Tiles styling spec for more details on the specifics of this implementation.** _

> **[3d-tiles/specification/Styling at main · CesiumGS/3d-tiles](https://github.com/CesiumGS/3d-tiles/tree/main/specification/Styling)**
>
> main/specification/Styling

Let me know if you have any other questions or concerns!

-Sam
