# visible

> Determines whether the hardware pointer is visible or not.

## Definition

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

```csharp
public static bool visible { get; set; }
```

### Remarks

Set this to true to reveal the cursor. Set it to false to hide the cursor. Note that in [CursorLockMode.Locked](/engine/6000.7/script-reference/unityengine/cursorlockmode/locked.md) mode, the cursor is invisible regardless of the value of this property.

### Examples

```csharp
using UnityEngine;
using System.Collections;

public class CursorScript : MonoBehaviour
{
    // Use this for initialization
    void Start()
    {
        //Set Cursor to not be visible
        Cursor.visible = false;
    }
}
```
