---
description: Align a hologram on its X, Y, and/or Z axis.
---

# Holograms\_Rename()

{% hint style="warning" %}
If using this function, you need to wait 1 tick, then load the hologram AFTER calling this! See the bottom of the page for an example.
{% endhint %}

### Full Function

Holograms\_Rename(oldID: text, newID: text)



### Parameters

<table><thead><tr><th width="150">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>oldID</td><td>text/string</td><td>ID of target hologram</td></tr><tr><td>newID</td><td>text/string</td><td>New ID for target hologram</td></tr></tbody></table>



### Return Values

{% tabs %}
{% tab title="0" %}
{% hint style="success" %}
Success
{% endhint %}
{% endtab %}

{% tab title="1" %}
{% hint style="danger" %}
Error - Hologram is not loaded
{% endhint %}
{% endtab %}

{% tab title="2" %}
{% hint style="danger" %}
Error - A hologram with the requested new ID already exists
{% endhint %}
{% endtab %}

{% tab title="3" %}
{% hint style="danger" %}
Error - A hologram with the requested old ID does not exist (loaded or unloaded)
{% endhint %}
{% endtab %}
{% endtabs %}



### Usage

```python
Hologram_Rename("old_Id", "new_id")
wait 1 tick
Holograms_Load("new_id")
```
