# Texture Top

## Introduction

The Texture Top variable controls the top pixel of the source rectangle used to draw the NineSlice. Texture Top is only available if the NineSlice uses a Texture Address of Custom or Dimension Based.

The following image shows a NineSlice with a Texture Top value of 48.

<figure><img src="https://2695663588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_fzQmxQ1VeUFHcoo2c%2Fuploads%2Fgit-blob-d473b77ad7a4c52aa998aa3b30de92930639c877%2Fimage.png?alt=media" alt=""><figcaption><p>NineSlice with Texture Top set to 48</p></figcaption></figure>

Texture Top controls the top side of the region that the NineSlice displays on its source file. In this case, the top-edge of the source rectangle is 48 pixels from the top edge of the entire file.

<figure><img src="https://2695663588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_fzQmxQ1VeUFHcoo2c%2Fuploads%2Fgit-blob-5c6fb56b0828674a00763c9d1e704f86ba65d4e6%2Fimage.png?alt=media" alt=""><figcaption><p>Texture Top set to 48 pixels in the Texture Coordinates tab</p></figcaption></figure>
