# GSAIGroupBehavior

**Extends:** GSAISteeringBehavior

### Description

Base type for group-based steering behaviors.

### Properties

| Type          | Name      |
| ------------- | --------- |
| GSAIProximity | proximity |

### Functions

| Type | Name                                                           |
| ---- | -------------------------------------------------------------- |
| bool | func \_report\_neighbor(\_neighbor: GSAISteeringAgent) -> bool |

### Property Descriptions

#### proximity

```gdscript
var proximity: GSAIProximity
```

Container to find neighbors of the agent and calculate group behavior.

### Method Descriptions

#### \_report\_neighbor (virtual)

```gdscript
func _report_neighbor(_neighbor: GSAISteeringAgent) -> bool
```

Internal callback for the behavior to define whether or not a member is relevant
