# Sandbox.Script.SetArgument

```csharp
void SetArgument(string name, T value)
```

Supplies a named input for the next invocation only. Unknown names and changes during execution
are API usage errors. Supply every input needed to bind host member calls before running.

### Parameters

- `name` (`string`)
- `value` (`T`)

Declared in [Sandbox.Script](/api/Sandbox.Script).
Assembly: `Sandbox.Engine`.
