---
title: "visibility"
description: "Change the visibility of the current node."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-android'>Android</div>


```kotlin
public fun GlanceModifier.visibility(visibility: Visibility): GlanceModifier
```


Change the visibility of the current node.

#### Parameters

| | |
| --- | --- |
| visibility | New visibility of the node. |




