# currentResolution

> The current screen resolution (Read Only).

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static Resolution currentResolution { get; }
```

### Remarks

Returns the current screen resolution (read only). If the player is running in windowed mode, this returns the current resolution of the desktop. If you are working with VR devices, use [XRSettings.eyeTextureWidth](/engine/6000.6/script-reference/unityengine/xr/xrsettings/eyetexturewidth.md) and [XRSettings.eyeTextureHeight](/engine/6000.6/script-reference/unityengine/xr/xrsettings/eyetextureheight.md) instead.

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        print(Screen.currentResolution);
    }
}
```
