---
title: removeAllBehaviors()
framework: scenekit
role: symbol
role_heading: Instance Method
path: scenekit/scnphysicsworld/removeallbehaviors()
---

# removeAllBehaviors()

Removes all behaviors affecting bodies in the physics world.

## Declaration

```swift
func removeAllBehaviors()
```

## See Also

### Registering Physics Behaviors

- [addBehavior(_:)](scenekit/scnphysicsworld/addbehavior(_:).md)
- [removeBehavior(_:)](scenekit/scnphysicsworld/removebehavior(_:).md)
- [allBehaviors](scenekit/scnphysicsworld/allbehaviors.md)
