# GetShaderUserValue()

> Returns the custom value assigned to this renderer.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public uint GetShaderUserValue()
```

### Returns

| Type                                                         | Description                                             |
| ------------------------------------------------------------ | ------------------------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | The integer assigned to the renderer as a custom value. |

### Remarks

The `GetShaderUserValue` method returns the custom integer assigned to a renderer.

**Note**: By default, the renderer’s value is 0 unless explicitly assigned.

Additional Resources: [SkinnedMeshRenderer.SetShaderUserValue](/engine/6000.6/script-reference/unityengine/skinnedmeshrenderer/setshaderuservalue.md).
