# Sandbox.Script.With

```csharp
ScriptInvocation<T> With(string name, T value)
```

Creates a stack-only invocation with a temporary argument. Chain With to supply more arguments,
then call Run or Compile. Names must be referenced by the script; repeated names replace earlier values.

### Parameters

- `name` (`string`)
- `value` (`T`)

### Returns

`ScriptInvocation<T>`

Declared in [Sandbox.Script](/api/Sandbox.Script).
Assembly: `Sandbox.Engine`.
