PRIM CLICK ACTION

From Second Life Wiki
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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 SitActionCursor.png
CLICK_ACTION_BUY 2 When the prim is touched, the buy dialog is opened SaleOneclickCursor.png
CLICK_ACTION_PAY 3 When the prim is touched, the pay dialog is opened SaleOneclickCursor.png
CLICK_ACTION_OPEN 4 When the prim is touched, the object inventory dialog is opened OpenOneclickCursor.png
CLICK_ACTION_PLAY 5 Play or pause parcel media on touch Toolplay.png
CLICK_ACTION_OPEN_MEDIA 6 Play parcel media on touch, no pause Toolmediaopen.png
CLICK_ACTION_ZOOM 7 Zoom the avatar camera on this object (Viewer 2) Toolzoom.png
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


Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_CLICK_ACTION = 43;