# AgentMotion enum

> How an agent's last MoveTo is going.

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

```csharp
public enum AgentMotion
```

How an [agent](/docs/api/iagent)'s last [MoveTo](/docs/api/iagent#moveto) is going.

## Members

### Still (value)

```csharp
Still = 0
```

It was never sent anywhere, or was stopped.

### Moving (value)

```csharp
Moving = 1
```

It's on its way.

### Arrived (value)

```csharp
Arrived = 2
```

It reached the goal, or came within the move's [Within](/docs/api/agentmove#within).

### Unreachable (value)

```csharp
Unreachable = 3
```

No route reaches the goal from where it was, so it stands where the route ran out.

### Stuck (value)

```csharp
Stuck = 4
```

It made under a quarter of the progress it asked for over a second three times, after taking a fresh route and then backing off, so it gave up.
