# Sandbox.Input.GetGlyph

## Overload 1

```csharp
static Texture GetGlyph(string name, InputGlyphSize size = 0, bool outline = False)
```

Get a glyph texture from the controller bound to the action.
If no binding is found will return an 'UNBOUND' glyph.

## Remarks

You should update your UI with this every frame, it's very cheap to call and context can change.

### Parameters

- `name` (`string`)
- `size` (`InputGlyphSize`), default `0`
- `outline` (`bool`), default `False`

### Returns

`Texture`

## Overload 2

```csharp
static Texture GetGlyph(string name, InputGlyphSize size = 0, GlyphStyle style = null)
```

### Parameters

- `name` (`string`)
- `size` (`InputGlyphSize`), default `0`
- `style` (`GlyphStyle`), default `null`

### Returns

`Texture`

## Overload 3

```csharp
static Texture GetGlyph(InputAnalog analog, InputGlyphSize size = 0, bool outline = False)
```

Get a glyph texture from an analog input on a controller.

### Parameters

- `analog` (`InputAnalog`)
- `size` (`InputGlyphSize`), default `0`
- `outline` (`bool`), default `False`

### Returns

`Texture`

Declared in [Sandbox.Input](/api/Sandbox.Input).
Assembly: `Sandbox.Engine`.
