# IProjectileBehaviour interface

> What a projectile does, written by the Plugin that launches it.

Namespace `EvilEngine.Api.Weapons`, assembly `EvilEngine.Api`. Engine commit 4ff877b1.

```csharp
public interface IProjectileBehaviour
```

What a projectile does, written by the Plugin that launches it.

## Members

### Think (method)

```csharp
void Think(IProjectile projectile)
```

Runs every tick before it moves, to steer it, time a fuse or change how it looks.

### Touch (method)

```csharp
void Touch(IProjectile projectile, WeaponTrace hit)
```

Runs when it hits the world, a prop or a person, with the [trace](/docs/api/weapontrace) of what it hit. A physical projectile touches whenever a bounce changes its speed. It stays where it hit until the behaviour moves it, sticks it, strikes, explodes or removes it.
