# Sandbox.UI.Image.SetTexture

```csharp
void SetTexture(string name)
```

Set [Sandbox.UI.Image.Texture](/api/Sandbox.UI.Image/Texture) from a file path. URLs supported.

### Parameters

- `name` (`string`)

Declared in [Sandbox.UI.Image](/api/Sandbox.UI.Image).
Assembly: `Sandbox.Engine`.
