# Get Selection

Allows the user to get the index of the current selected item of a Control.

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MAlPVpH3WRwBy16c7JY%2F-MAlQBZuuTnc6hyzKSVQ%2Fimage.png?alt=media\&token=5c9534b7-ca05-4ac4-b408-2207cd5a5295)

### Parameters

* **Control** - The control from which you want to retrieve the selected index.
* **Target** <*numeric*> - The control or variable that will receive the selected index.

{% hint style="warning" %}
If no item is selected, Target will b set to 0.
{% endhint %}
