# Removing an entity You can find this sample in the tutorial project: **Menu** -> **Removing an entity** ## Explanation This C# basics tutorial covers how to get an enties children. Since those children are also entities, we can retrieve their children too. ![Child entities](media/removing-entity.png) ## Code [!code-csharp[Entity](..\..\..\..\xenko\samples\Tutorials\C# Basics\CSharpBasics\CSharpBasics.Game\Code\RemoveEntities.cs)]