# CLICK_ACTION_BUY

*LSL constant*

```lsl
integer CLICK_ACTION_BUY = 2;
```

Opens the buy dialog when the prim is clicked or touched.

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

## See also

### Functions

- [llSetClickAction](/functions/llSetClickAction/)
- [llGetObjectDetails](/functions/llGetObjectDetails/)

---

*Source: [CLICK ACTION BUY](https://wiki.secondlife.com/wiki/CLICK_ACTION_BUY) on the Second Life Wiki. Content from the Second Life Wiki article CLICK ACTION BUY (revision 1197554, 2015-09-23), CC BY-SA 3.0.*

---

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