Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Screen Height#

Screen / Screen Height

  • Can Read

  • Cannot Write

Description#

The height in pixels of the game window

Code#

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;
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.