# Viewport Properties

Viewport Properties is an [editor](https://docs.gmetri.com/metaverse/build/editor) panel that facilitates the movement and placement of items within your experience.

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FY1tauWK4tCV17wx3Stbc%2Fimage.png?alt=media&#x26;token=209542ef-1b3f-4f08-961a-13509cc6b52b" alt=""><figcaption><p>Viewport properties</p></figcaption></figure>

## Camera Mode

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FVnjh3vjAcIaoawBg0DmG%2Fimage.png?alt=media&#x26;token=ab301d14-1714-4a6f-b659-80435d788a7b" alt=""><figcaption></figcaption></figure>

### First Person Camera Mode

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FRnY1ivzw1wpJPinAgZ4r%2FVinutha-S_s-Personal-Workspace-_-Sample-viewport-_2_.gif?alt=media&#x26;token=9e8728ae-0c2a-45bf-b603-9b1b0abdb8ce" alt=""><figcaption><p>First person camera mode</p></figcaption></figure>

First person mode allows you move along the plane at a given height using the WASD or the arrow keys. You can control this height from the Top Bar.

### Fly Camera Mode

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FGOhBvtcNrzKzZF93NQXY%2FVinutha-S_s-Personal-Workspace-_-Sample-viewport.gif?alt=media&#x26;token=40f9812d-8d81-4c21-abd4-e3d9d114dc3b" alt=""><figcaption><p>Fly Camera Mode</p></figcaption></figure>

In Fly Mode, you can:

* Use left click and drag to orbit around a point
* Use scroll bar to move forward and backward
* Use right click and drag to pan

## Transform Mode

The transform how you move elements in the editor.

There are 3 transform modes:

* Drag: Moves the element across a spherical plane with the camera as the center
* Translate: Shows the Transform arrows that allows you to move the element across `x`, `y` or `z` axes or `xy`, `yz` or `zx` planes.
* Rotate: Shows the Rotation controls that allow you to rotate the element across `x`, `y` or `z` axes.

{% hint style="info" %}
The axes in question above can be relative either to the World or the local element. Control this by using the Axis setting below.
{% endhint %}

You can refer to the below article to understand how this mode works in a 3D space.

{% content-ref url="placement-in-3d-space" %}
[placement-in-3d-space](https://docs.gmetri.com/metaverse/build/editor/placement-in-3d-space)
{% endcontent-ref %}

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2F7gs3ZRwdQ1VZleq1sf5a%2FVinutha-S_s-Personal-Workspace-_-Sample-viewport.gif?alt=media&#x26;token=8a95caf2-94cd-486a-912b-16439dcd199b" alt=""><figcaption><p>Transform Mode</p></figcaption></figure>

## Axis

The translate and rotate controls can be relative to one of two available axes - World or Local.

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FcJrS4SUIiWDxsic22xrs%2FVinutha-S_s-Personal-Workspace-_-Sample-viewport-_1_.gif?alt=media&#x26;token=a9d99d14-f086-4f4b-bb40-95f6cb163428" alt=""><figcaption><p>Axis</p></figcaption></figure>

## Scene Bound Visibility

You can change the visibility of the scene boundary using this setting.

You can refer to scene bounds in the below article to understand how they work

{% content-ref url="../scenes/3d-scene/colliders" %}
[colliders](https://docs.gmetri.com/metaverse/build/scenes/3d-scene/colliders)
{% endcontent-ref %}

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FTDDD5e6efgq2iL2clLVi%2Fimage.png?alt=media&#x26;token=f459bb9a-b7d7-4ad8-a5c5-f98657f3c521" alt=""><figcaption><p>Scene Bound visibility</p></figcaption></figure>

## Bounding Box

This is 3D cuboid frame that encloses an element within the experience. It is used to represent the dimensions and position of an item.

Shown below are examples with and without bounding box visibility.

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2F5ylZoDK3EVwH159DJLM7%2Fimage.png?alt=media&#x26;token=b36a2938-e7b6-46cf-9657-e447029a67ae" alt=""><figcaption><p>Bounding box</p></figcaption></figure>
