# SetIncludeInBuild(SpriteAtlas, bool)

> Define if this sprite atlas's packed texture is included in the build with the Sprite after packing is done.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.U2D](/engine/6000.7/script-reference/unityeditor/u2d.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static void SetIncludeInBuild(this SpriteAtlas spriteAtlas, bool value)
```

### Parameters

**** (\[SpriteAtlas]\(/engine/6000.7/script-reference/unityengine/u2d/spriteatlas)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;

### Remarks

Include this to ensure that the sprite refers to the atlas's packed texture at runtime.

Conversely, the packed texture will not be in the build. It can be late bound to the sprite at runtime.
