# Sandbox.Npcs.Layers.SpeechLayer.TrySay

## Overload 1

```csharp
bool TrySay(SoundEvent sound, System.Nullable<SpeechOptions> options = null)
```

### Parameters

- `sound` (`SoundEvent`)
- `options` (`System.Nullable<SpeechOptions>`), default `null`

### Returns

`bool`

## Overload 2

```csharp
bool TrySay(string message, System.Nullable<SpeechOptions> options = null)
```

### Parameters

- `message` (`string`)
- `options` (`System.Nullable<SpeechOptions>`), default `null`

### Returns

`bool`

Declared in [Sandbox.Npcs.Layers.SpeechLayer](/api/Sandbox.Npcs.Layers.SpeechLayer).
Assembly: `Sandbox.Engine`.
