AVPlayer.GetVisible
-------------------

Queries current visibility state.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVPlayer](component_AVPlayer.md) | [10.2](newinversion102.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "AVPlayer.GetVisible"; AVPlayer ) 

**MBS**( **"AVPlayer.GetVisible";** /\* Queries current visibility state. \*/  
**$AVPlayer**) /\* The reference number of the player.e.g. $Player \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVPlayer | The reference number of the player. | $Player |

### Result

Returns 1, 0 or error.

### Description

Queries current visibility state.  
Returns 1 if visible and 0 if hidden.  
### Examples

Query visible state:

 Set Variable \[ $visible ; Value: MBS ( "AVPlayer.GetVisible"; $AVPlayer ) \]  
### See also

- [AVPlayer.GetVolume](AVPlayerGetVolume.md)
- [AVPlayer.SetVisible](AVPlayerSetVisible.md)

This function checks for a license.

Created 12nd March 2020 , last changed 19th April 2020

  
[AVPlayer.GetTime](AVPlayerGetTime.md) - [AVPlayer.GetVolume](AVPlayerGetVolume.md)

[HTML Version](AVPlayerGetVisible.shtml)