---
name: "selectThrowable"
type: command
status: ok
groups: ["Weapons", "Unit Inventory"]
arma3_since: "2.18"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/selectThrowable
revid: 369741
updated: 2024-10-08T15:05:51Z
---

# selectThrowable

*Command · Weapons, Unit Inventory · Arma 3 v2.18*

## Description

Selects [current throwable](../commands/currentThrowable.md), which will be launched if the user presses <kbd>G</kbd>.

## Syntax

```sqf
unit selectThrowable throwable
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `throwable`: [String](../topics/String.md) - either the name of the throwable magazine or the name of the throwable muzzle

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) on success

## Examples

### Example 1

```sqf
player selectThrowable "SmokeShellGreen";
```

### Example 2

```sqf
player selectThrowable "SmokeShellGreenMuzzle";
```

## See also

[throwables](../commands/throwables.md) · [isThrowable](../commands/isThrowable.md) · [currentThrowable](../commands/currentThrowable.md) · [selectWeapon](../commands/selectWeapon.md) · [currentWeapon](../commands/currentWeapon.md) · [currentMagazine](../commands/currentMagazine.md) · [currentMuzzle](../commands/currentMuzzle.md) · [BIS_fnc_isThrowable](../functions/BIS_fnc_isThrowable.md)

<sub>Source: [BI Community Wiki — selectThrowable](https://community.bistudio.com/wiki/selectThrowable) (revision 369741).</sub>
