> For the complete documentation index, see [llms.txt](https://ferdowsur.gitbook.io/3d-ranks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ferdowsur.gitbook.io/3d-ranks/rank/border.md).

# Border

<figure><img src="https://96267253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP4h0q7qUXVTnCbRAstH%2Fuploads%2FvuVsEN1ChusDb0ht5bUx%2FParts%20Indicator.png?alt=media&amp;token=159b3bfd-bdb0-4548-b4c9-bdb0c000d4ee" alt=""><figcaption></figcaption></figure>

## Preview

{% embed url="<https://youtu.be/WRrGKWQXfUE>" %}

You can also [create your own border](/3d-ranks/rank/border/create-new-border.md).

## Inspector

In the Customization Tab, you can edit the border and apply materials with an animated preview in play mode.

<figure><img src="https://96267253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP4h0q7qUXVTnCbRAstH%2Fuploads%2FUGFZJk63Jg4FxVPHWzkI%2FBorder%20Inspector.png?alt=media&amp;token=45c01254-6497-4415-9239-e41658e3e321" alt="" width="563"><figcaption><p>Available Borders</p></figcaption></figure>

In the ranks tab, for each rank, you can quickly modify the border and material, too.&#x20;

You can also adjust some other settings. You can hover over the fields to check the tooltips if you need an explanation.

<figure><img src="https://96267253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP4h0q7qUXVTnCbRAstH%2Fuploads%2FZdAAIvL79Y4brZUDP2E9%2FBorder%20Inspector%20in%20Ranks%20Tab.png?alt=media&amp;token=6d5d70d3-8529-4ae2-9687-3841f261a201" alt="" width="488"><figcaption><p>Border Settings for individual ranks in Ranks List</p></figcaption></figure>

## Script Reference

You can use the SetIcon method to modify the icon via code or buttons.

```csharp
ranksAnimationController.SetBorder(i);
```

<table data-full-width="true"><thead><tr><th width="355.6666666666667">Method</th><th>Description</th></tr></thead><tbody><tr><td><pre class="language-csharp"><code class="lang-csharp">DisableBorder()
</code></pre></td><td>Removes border and inside.</td></tr><tr><td><pre class="language-csharp"><code class="lang-csharp">SetBorder(int newBorder,
 bool autoUpdateInside = true, 
 bool autoUpdateWingsPosition = true)
</code></pre></td><td>Updates the border with the currentRank's border animation setting.<br><br>Parameters:<br><br><strong>int newBorder</strong><br>Will disable the border if a negative value is passed as a parameter.<br><br><strong>bool autoUpdateInside = true</strong><br>If the current inside isn't viable for the new border, auto update will assign a new one.<br><br><strong>bool autoUpdateWingsPosition = true</strong><br>If wings are changed along with this, set it false so that this doesn't handle updating the position and changing wings updates that.</td></tr></tbody></table>
