# Removing an entity You can find this sample in the tutorial project: **Menu** -> **Removing an entity** ## Explanation This C# Beginner 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\CSharpBeginner\CSharpBeginner\CSharpBeginner.Game\Code\RemoveEntitiesDemo.cs)]