# RemoveScriptableObjectAt(uint)

> Removes the ScriptableObject reference from the sprite.

## Definition

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

```csharp
public bool RemoveScriptableObjectAt(uint i)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The index of the [ScriptableObject](/engine/6000.6/script-reference/unityengine/scriptableobject.md) reference to remove.

### Returns

| Type                                                          | Description                                                                                                                                                                       |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the reference is removed. Returns false if the sprite is not referencing the [ScriptableObject](/engine/6000.6/script-reference/unityengine/scriptableobject.md). |

### Remarks

Refer to [Sprite.GetScriptableObjects](/engine/6000.6/script-reference/unityengine/sprite/getscriptableobjects.md) for sample usage.
