> For the complete documentation index, see [llms.txt](https://harpiagames.gitbook.io/prefab-brush-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://harpiagames.gitbook.io/prefab-brush-documentation/quick-start/erasing-prefabs/erasing-with-physics.md).

# Erasing with Physics

For physics-based erasing to function, ensure that physics simulation is activated.

<figure><img src="https://1236114686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FStnSJtFVa8qAPtMowHno%2Fuploads%2FekHlS00MRlsOJ1ij0xcx%2Fimage.png?alt=media&amp;token=fc548bbb-1f19-4373-968d-a4c073bd1fb4" alt=""><figcaption></figcaption></figure>

**Delete Physics Only Objects:** When activated, this feature limits erasing to only objects that possess a valid rigidbody and collider, ensuring physics-based removals. This only works when the physics simulation is on.

This short video demonstrates the process of placing and deleting objects through physics. Note: The 'Delete Physics Only Objects' toggle is activated.

{% embed url="<https://youtu.be/ixuQ_EofUfI>" %}
