---
title: "getNumShelfTabs"
canonical: "https://help.vicon.com/space/Shogun16/13340994/getNumShelfTabs"
format: markdown
---
# Description

Use getNumShelfTabs when you need to know exactly how many tabs are currently in the button shelf.

## Functional area

Interface

# Command syntax

## Syntax

|  |
| --- |
| `getNumShelfTabs` |

### Arguments

None

### Flags

None

## Return value

integer

## Examples

```plaintext
getNumShelfTabs;
// Returns an integer value indicating the number of
// tabs currently on the button shelf.
```

# Additional information

## Related commands

- [createShelfTab](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13339809)
- [deleteShelfTab](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13341153)