PRIM CLICK ACTION
Revision as of 20:10, 25 June 2024 by Frionil Fang (talk | contribs) (Created page with "{{LSL Constant |name=PRIM_CLICK_ACTION |type=integer |value=43 |desc=Which action will be taken when left-clicking the prim. Followed by one of these flags: {{LSL Constants/Cl...")
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_CLICK_ACTION = 43;The integer constant PRIM_CLICK_ACTION has the value 43
Which action will be taken when left-clicking the prim. Followed by one of these flags:
Flag | Description | Cursor | |
---|---|---|---|
CLICK_ACTION_NONE | 0 | Performs the default action: when the prim is touched, touch events are triggered | |
CLICK_ACTION_TOUCH | 0 | When the prim is touched, touch events are triggered | |
CLICK_ACTION_SIT | 1 | When the prim is touched, the avatar sits upon it | |
CLICK_ACTION_BUY | 2 | When the prim is touched, the buy dialog is opened | |
CLICK_ACTION_PAY | 3 | When the prim is touched, the pay dialog is opened | |
CLICK_ACTION_OPEN | 4 | When the prim is touched, the object inventory dialog is opened | |
CLICK_ACTION_PLAY | 5 | Play or pause parcel media on touch | |
CLICK_ACTION_OPEN_MEDIA | 6 | Play parcel media on touch, no pause | |
CLICK_ACTION_ZOOM | 7 | Zoom the avatar camera on this object (Viewer 2) | |
CLICK_ACTION_DISABLED | 8 | No click action. No touches detected or passed. | |
CLICK_ACTION_IGNORE | 9 | Clicks go through the object to whatever is behind it. No touches detected. |
Caveats