# Sandbox.Animation.GraphBuilder.FootstepCondition

```csharp
Node FootstepCondition(FootPhase phase, EventQuerySettings settings = null)
```

True while the currently sampled animations are in the given [Sandbox.Animation.GraphBuilder.FootPhase](/api/Sandbox.Animation.GraphBuilder.FootPhase) -
e.g. gate a transition so it's only taken when a specific foot is planted.

### Parameters

- `phase` (`FootPhase`)
- `settings` (`EventQuerySettings`), default `null`

### Returns

`Node`

Declared in [Sandbox.Animation.GraphBuilder](/api/Sandbox.Animation.GraphBuilder).
Assembly: `Sandbox.Engine`.
