# Sandbox.Texture.LoadAvatar

## Overload 1

```csharp
static Texture LoadAvatar(long steamid, int size = 64)
```

Load avatar image of a Steam user (with a certain size if supplied).

### Parameters

- `steamid` (`long`): The SteamID of the user to load the avatar of.
- `size` (`int`), default `64`: The size of the avatar (Can be 32, 64, or 128. Defaults to 64 and rounds input to nearest of the three).

### Returns

`Texture`: The avatar texture

## Overload 2

```csharp
static Texture LoadAvatar(string steamid, int size)
```

### Parameters

- `steamid` (`string`)
- `size` (`int`)

### Returns

`Texture`

Declared in [Sandbox.Texture](/api/Sandbox.Texture).
Assembly: `Sandbox.Engine`.
