# Insert(int, StyleSheet)

> Adds a style sheet for the owner element at a specified index

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public void Insert(int index, StyleSheet styleSheet)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): **** (\[StyleSheet]\(/engine/6000.0/script-reference/unityengine/uielements/stylesheet)):&#x20;
