# Adding Variables

<div align="left"><figure><img src="https://3533927814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF00UfwVmrAMlFEsYUV8N%2Fuploads%2FyBbqJMoWlEYXphoGHf95%2Fimage.png?alt=media&#x26;token=20c09aae-873b-4d9e-9b06-522eea7fc940" alt=""><figcaption><p>Variable</p></figcaption></figure></div>

* Create a new variable, rename it as Texture, as shown above.

<div align="left"><figure><img src="https://3533927814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF00UfwVmrAMlFEsYUV8N%2Fuploads%2FWvLieNiPDuYYmInlm2eg%2Fimage.png?alt=media&#x26;token=ba71ca70-fe86-45fa-8570-8dee23f43243" alt=""><figcaption><p>Pin Type</p></figcaption></figure></div>

* Change the Pin Type to Texture Render Target 2D.
* Select the reference as Object Reference, as illustrated above.&#x20;

<div align="left"><figure><img src="https://3533927814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF00UfwVmrAMlFEsYUV8N%2Fuploads%2FewcYXhSitwViVHEpQgoP%2Fimage.png?alt=media&#x26;token=59089597-e4c3-4549-b5f2-9d9a91a6b0aa" alt=""><figcaption><p>Variable</p></figcaption></figure></div>

* Create a new variable, rename it as MatScrInst, as illustrated above.

<div align="left"><figure><img src="https://3533927814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF00UfwVmrAMlFEsYUV8N%2Fuploads%2FGvPR9jlQMGq7c6lfeKpJ%2Fimage.png?alt=media&#x26;token=2fd1a3e1-8f31-4161-8eb8-16358e2f9c5e" alt=""><figcaption><p>Pin Type</p></figcaption></figure></div>

* Change the Pin Type to Material Instance Dynamic.
* Select the reference as Object Reference, as illustrated above.&#x20;

<div align="left"><figure><img src="https://3533927814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF00UfwVmrAMlFEsYUV8N%2Fuploads%2FFheGhCtLdcmgJWd5RKwv%2Fimage.png?alt=media&#x26;token=239d80e9-01dc-4c3e-bde7-6c710a4365d5" alt=""><figcaption><p>Defining Category</p></figcaption></figure></div>

* Select the Texture variable, go to Details panel.
* Change the Category to Text Input, as shown above.&#x20;

<div align="left"><figure><img src="https://3533927814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF00UfwVmrAMlFEsYUV8N%2Fuploads%2FWuj7EG89kOdKQTzfHE0F%2Fimage.png?alt=media&#x26;token=fd885e2f-48f7-488d-84be-d1f52a34d11c" alt=""><figcaption><p>Defining Category</p></figcaption></figure></div>

* Select the MatScrInst variable, go to Details panel.
* Change the Category to Text Input, as shown above.

{% hint style="info" %}
Changing the Category will allow you to see the relevant section under a separate tab in Reality Hub.
{% endhint %}

<div align="left"><figure><img src="https://3533927814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF00UfwVmrAMlFEsYUV8N%2Fuploads%2Fcyc3JSJY9Sily98tEUdu%2Fimage.png?alt=media&#x26;token=4a8adc71-9f44-4a04-9510-5352d8a773ef" alt=""><figcaption><p>Blueprint Assets</p></figcaption></figure></div>

Your blueprint assets should look like in the image above.&#x20;

{% hint style="info" %}
Ensure that the "visibility" option for both variables is active by verifying that the eye (Public) icon is enabled.
{% endhint %}
