# GetSourceValue(ISelectorInfo)

> Returns the value to use when the smart string matches this variable.

## Definition

* **Type:** Method
* **Namespace:** [Unity.SmartStrings.PersistentVariables](/engine/6000.7/script-reference/unity/smartstrings/persistentvariables.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
object GetSourceValue(ISelectorInfo selector)
```

### Parameters

**** (\[ISelectorInfo]\(/engine/6000.7/script-reference/unity/smartstrings/core/extensions/iselectorinfo)): The details about the current format operation.

### Returns

| Type                                                           | Description                                                          |
| -------------------------------------------------------------- | -------------------------------------------------------------------- |
| [Object](https://learn.microsoft.com/dotnet/api/system.object) | The value that additional sources or formatters can process further. |
