PRIM_CLICK_ACTION
constant
Constant
integer PRIM_CLICK_ACTION = 43;Constant groups
Other PrimParam values (42)
PRIM_ALLOW_UNSIT39PRIM_ALPHA_MODE38PRIM_BUMP_SHINY19PRIM_COLLISION_SOUND53PRIM_COLOR18PRIM_DAMAGE51PRIM_DESC28PRIM_FLEXIBLE21PRIM_FULLBRIGHT20PRIM_GLOW25PRIM_GLTF_BASE_COLOR48PRIM_GLTF_EMISSIVE46PRIM_GLTF_METALLIC_ROUGHNESS47PRIM_GLTF_NORMAL45PRIM_HEALTH52PRIM_LINK_TARGET34PRIM_MATERIAL2PRIM_NAME27PRIM_NORMAL37PRIM_OMEGA32PRIM_PHANTOM5PRIM_PHYSICS3PRIM_PHYSICS_SHAPE_TYPE30PRIM_POINT_LIGHT23PRIM_POS_LOCAL33PRIM_POSITION6PRIM_PROJECTOR42PRIM_REFLECTION_PROBE44PRIM_RENDER_MATERIAL49PRIM_ROT_LOCAL29PRIM_ROTATION8PRIM_SCRIPTED_SIT_ONLY40PRIM_SIT_FLAGS50PRIM_SIT_TARGET41PRIM_SIZE7PRIM_SLICE35PRIM_SPECULAR36PRIM_TEMP_ON_REZ4PRIM_TEXGEN22PRIM_TEXT26PRIM_TEXTURE17PRIM_TYPE9
Other PrimParamGet values (40)
PRIM_ALLOW_UNSIT39PRIM_ALPHA_MODE38PRIM_BUMP_SHINY19PRIM_COLLISION_SOUND53PRIM_COLOR18PRIM_DAMAGE51PRIM_DESC28PRIM_FLEXIBLE21PRIM_FULLBRIGHT20PRIM_GLOW25PRIM_GLTF_BASE_COLOR48PRIM_GLTF_EMISSIVE46PRIM_GLTF_METALLIC_ROUGHNESS47PRIM_GLTF_NORMAL45PRIM_HEALTH52PRIM_MATERIAL2PRIM_NAME27PRIM_NORMAL37PRIM_OMEGA32PRIM_PHANTOM5PRIM_PHYSICS3PRIM_PHYSICS_SHAPE_TYPE30PRIM_POINT_LIGHT23PRIM_POS_LOCAL33PRIM_POSITION6PRIM_REFLECTION_PROBE44PRIM_RENDER_MATERIAL49PRIM_ROT_LOCAL29PRIM_ROTATION8PRIM_SCRIPTED_SIT_ONLY40PRIM_SIT_FLAGS50PRIM_SIT_TARGET41PRIM_SIZE7PRIM_SLICE35PRIM_SPECULAR36PRIM_TEMP_ON_REZ4PRIM_TEXGEN22PRIM_TEXT26PRIM_TEXTURE17PRIM_TYPE9
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 | File:SitActionCursor.png |
CLICK_ACTION_BUY | 2 | When the prim is touched, the buy dialog is opened | File:SaleOneclickCursor.png |
CLICK_ACTION_PAY | 3 | When the prim is touched, the pay dialog is opened | File:SaleOneclickCursor.png |
CLICK_ACTION_OPEN | 4 | When the prim is touched, the object inventory dialog is opened | File:OpenOneclickCursor.png |
CLICK_ACTION_PLAY | 5 | Play or pause parcel media on touch | Image:Toolplay.png |
CLICK_ACTION_OPEN_MEDIA | 6 | Play parcel media on touch, no pause | Image:Toolmediaopen.png |
CLICK_ACTION_ZOOM | 7 | Zoom the avatar camera on this object (Viewer 2) | Image: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
Section titled “Caveats”- The caveats described at llSetClickAction all apply to
PRIM_CLICK_ACTION.
See also
Section titled “See also”Functions
Section titled “Functions”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.