# Editor.MapDoc.MapEntity.GetKeyValue

```csharp
string GetKeyValue(string key)
```

Gets the value for the key, e.g "model" could return "models/props_c17/oildrum001_explosive.mdl"

### Parameters

- `key` (`string`)

### Returns

`string`

Declared in [Editor.MapDoc.MapEntity](/api/Editor.MapDoc.MapEntity).
Assembly: `Sandbox.Tools`.
