---
title: "remove(_:)"
framework: gameplaykit
role: symbol
role_heading: Instance Method
path: "gameplaykit/gkcompositebehavior/remove(_:)"
---

# remove(_:)

Removes the specified individual behavior from the composite behavior.

## Declaration

```swift
func remove(_ behavior: GKBehavior)
```

## Parameters

- `behavior`: An individual behavior in the composite behavior.

## See Also

### Managing the Individual Behaviors in a Composite Behavior

- [setWeight(_:for:)](gameplaykit/gkcompositebehavior/setweight(_:for:).md)
- [weight(for:)](gameplaykit/gkcompositebehavior/weight(for:).md)
- [removeAllBehaviors()](gameplaykit/gkcompositebehavior/removeallbehaviors().md)
- [behaviorCount](gameplaykit/gkcompositebehavior/behaviorcount.md)
