TouchBar.Visible
----------------

Queries visible state.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [TouchBar](component_TouchBar.md) | [6.5](newinversion65.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "TouchBar.Visible"; TouchBarRef ) 

**MBS**( **"TouchBar.Visible";** /\* Queries visible state. \*/  
**$TouchBarRef**) /\* The reference number for the touch bar.e.g. $TouchBar \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| TouchBarRef | The reference number for the touch bar. | $TouchBar |

### Result

Returns 0, 1 or error.

### Description

Queries visible state.  
When 1, the touch bar is attached to an eligible touch bar provider, and its items are displayable, assuming adequate space.  
This function checks for a license.

Created 1st November 2016 , last changed 1st November 2016

  
[TouchBar.ToggleCustomizationPalette](TouchBarToggleCustomizationPalette.md) - [Trace](Trace.md)

[HTML Version](TouchBarVisible.shtml)