AVPlayer.SetFocus
-----------------

Sets focus to the player view.

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

MBS( "AVPlayer.SetFocus"; AVPlayer ) 

**MBS**( **"AVPlayer.SetFocus";** /\* Sets focus to the player view. \*/  
**$AVPlayer**) /\* The reference number of the player.e.g. $Player \*/ 

### Parameters

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

### Result

Returns OK or error.

### Description

Sets focus to the player view.  
### See also

- [AVPlayer.GetVolume](AVPlayerGetVolume.md)
- [AVPlayer.SetMuted](AVPlayerSetMuted.md)
- [AVPlayer.SetVolume](AVPlayerSetVolume.md)

### Blog Entries

- [News about the MBS FileMaker Plugin 10.2](https://www.mbsplugins.de/archive/2020-05-19/News_about_the_MBS_FileMaker_P/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 12nd March 2020 , last changed 12nd March 2020

  
[AVPlayer.SetFinishedScript](AVPlayerSetFinishedScript.md) - [AVPlayer.SetFrameWithControl](AVPlayerSetFrameWithControl.md)

[HTML Version](AVPlayerSetFocus.shtml)