# UX Resources

### Resources

* Canvas Placement Unity component
* Panel Size Guidelines prefab

## Canvas Placement Unity component

The Canvas Placement component allows you to control the three key parameters of a canvas when positioning it in front of the user: distance, scale, and height. Canvas Placement utilizes the DMM system to scale the canvas proportionally to the distance.&#x20;

We recommend using a 4º angle for UIs placed between 0.65 cm and 2 meters.

{% hint style="info" %}
Remember to synchronize the scale with the distance to utilize the DMM system, where a pixel in Figma corresponds to a millimeter in Unity. Nevertheless, you can experiment with different scales if required.
{% endhint %}

<figure><img src="https://2267467073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJTYM2H0ve8KmqJHIoHBt%2Fuploads%2FXFgSSVv0XR7QqPJVvkVb%2FCanvas%20Placement.jpg?alt=media&#x26;token=14563b02-06b6-452f-8bf8-7e6f60063ca0" alt=""><figcaption></figcaption></figure>

### Watch it in action

<figure><img src="https://2267467073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJTYM2H0ve8KmqJHIoHBt%2Fuploads%2FnztftiNRJft2gL6ZJrzq%2FCanvas-Placement.gif?alt=media&#x26;token=1f7773cb-d4f1-41aa-8f22-845495401557" alt=""><figcaption></figcaption></figure>

## Panel Size Guidelines prefab

The Panel Size Guidelines prefab serves as your assistant in managing the size of the UI relative to the user.

### How does it work?

Simply drag and drop the Panel Size Guidelines prefab into your scene, and it will automatically position itself to your camera using the [Canvas Placement component](#canvas-placement-unity-component). The prefab provides a visual representation of a grid with comfort zones, allowing you to position your UI accordingly and adjust as needed.

*Find it in FloatGrids/Design System/UX Resources*

<figure><img src="https://2267467073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJTYM2H0ve8KmqJHIoHBt%2Fuploads%2FH6YauzoT1k8r1LJFTxzH%2FPanel%20Size%20Guidelines.jpg?alt=media&#x26;token=798d6d03-3388-44e9-a914-92df43a75864" alt=""><figcaption></figcaption></figure>

### Watch it in action

<figure><img src="https://2267467073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJTYM2H0ve8KmqJHIoHBt%2Fuploads%2F2f1uPyzVf3ROYDG0XsKI%2FPanel-Size.gif?alt=media&#x26;token=91a82dae-9e02-434f-8970-95272447b650" alt=""><figcaption></figcaption></figure>
