# visible

> Indicates whether or not this element should be rendered.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
[CreateProperty]
public bool visible { get; set; }
```

### Remarks

The value of this property reflects the value of [IResolvedStyle.visibility](/engine/6000.0/script-reference/unityengine/uielements/iresolvedstyle/visibility.md) for this element. The value is true for [Visibility.Visible](/engine/6000.0/script-reference/unityengine/uielements/visibility/visible.md) and false for [Visibility.Hidden](/engine/6000.0/script-reference/unityengine/uielements/visibility/hidden.md). Writing to this property writes to [IStyle.visibility](/engine/6000.0/script-reference/unityengine/uielements/istyle/visibility.md).

Additional Resources: [VisualElement.resolvedStyle](/engine/6000.0/script-reference/unityengine/uielements/visualelement/resolvedstyle.md), [VisualElement.style](/engine/6000.0/script-reference/unityengine/uielements/visualelement/style.md)
