---
tags:
    - "Resolution"
    - "Pixels"
    - "Window"
    - "Display"
    - "Size"
    - "Vertical"
---

# Screen Height

[Screen](index.md) / **Screen Height**

<div class="grid cards" markdown>

* :green_circle: Can Read

* :red_circle: Cannot Write

</div>

## Description

The height in pixels of the game window

## Code

```cs
using System;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]

    [Title("Screen Height")]
    [Category("Screen/Screen Height")]

    [Description("The height in pixels of the game window")]
    [Image(typeof(IconFullscreen), ColorTheme.Type.Gray, typeof(BadgeY))]

    [Keywords("Resolution", "Pixels", "Window", "Display", "Size", "Vertical")]

    [Serializable]
    public class TypeNumberScreenHeight : TypeNumber
    {
        public override double Get(Args args)
        {
            return UnityEngine.Screen.height;
        }

        public override string ToString()
        {
            return "Screen Height";
        }

        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}

```

