# INVENTORY_GESTURE

*LSL constant*

```lsl
integer INVENTORY_GESTURE = 21;
```

Constant groups: [InventoryType](/constants/groups/InventoryType/)

Used with [Inventory](https://wiki.secondlife.com/wiki/Category:LSL_Inventory) functions and specifies inventory items of GESTURE type will be retrieved by the function.

## Examples

<details open>
<summary>Example 1</summary>

```lsl
//Gives inventory only to agents with the same active group as the object the script is in is assigned to
default
{
    touch_start(integer total_number)
    {
        key user = llDetectedKey(0);
        if (llDetectedGroup(0) ) //same as llSameGroup(llDetectedKey(0)) (with llSameGroup, detected must be in the sim)
                                 // Mind you, if they're not in the same SIM they shouldn't be trying to touch this object!
            llGiveInventory(user, llGetInventoryName(INVENTORY_GESTURE, 0) );
        else
            llRegionSayTo(user, 0, "Wrong active group!");
    }
}
```

</details>

## See also

### Constants

- [INVENTORY_NONE](/constants/INVENTORY_NONE/)
- [INVENTORY ALL](/constants/INVENTORY_ALL/)
- [INVENTORY ANIMATION](/constants/INVENTORY_ANIMATION/)
- [INVENTORY BODYPART](/constants/INVENTORY_BODYPART/)
- [INVENTORY CLOTHING](/constants/INVENTORY_CLOTHING/)
- [INVENTORY LANDMARK](/constants/INVENTORY_LANDMARK/)
- [INVENTORY NOTECARD](/constants/INVENTORY_NOTECARD/)
- [INVENTORY OBJECT](/constants/INVENTORY_OBJECT/)
- [INVENTORY SCRIPT](/constants/INVENTORY_SCRIPT/)
- [INVENTORY SETTING](/constants/INVENTORY_SETTING/)
- [INVENTORY SOUND](/constants/INVENTORY_SOUND/)
- [INVENTORY TEXTURE](/constants/INVENTORY_TEXTURE/)

### Functions

- [llGetInventoryType](/functions/llGetInventoryType/)
- [llGetInventoryNumber](/functions/llGetInventoryNumber/)
- [llGetInventoryName](/functions/llGetInventoryName/)

### Articles

- [Gestures](https://wiki.secondlife.com/wiki/Gestures)

---

*Source: [INVENTORY GESTURE](https://wiki.secondlife.com/wiki/INVENTORY_GESTURE) on the Second Life Wiki. Content from the Second Life Wiki article INVENTORY GESTURE (revision 1208007, 2019-02-01), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/INVENTORY_GESTURE/
