---
tags:
    - "Mouse, Pointer"
---

# Cursor Visible

[Input](../index.md) / [Cursor](index.md) / **Cursor Visible**

## Description

Compares the Visible static property of Cursor class to another value

## Code

```cs
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Title("Cursor Visible")]
    [Category("Input/Cursor/Visible")]
    [Description("Compares the Visible static property of Cursor class to another value")]

    [Image(typeof(IconCursor), ColorTheme.Type.Blue)]
    [Keywords("Mouse, Pointer")]

    [Serializable]
    public class GenConditionBool_Cursor_CheckVisible : Condition
    {

        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Cursor");
            string member = TextUtils.ThemeAsKeyword("Visible");
            return $"{className} {member}";
        }

        protected override bool Run(Args args)
        {
            return Cursor.visible;
        }
    }
}
```

