Touch end

From Second Life Wiki
Revision as of 21:55, 28 September 2008 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Description

Event: touch_end( integer num_detected ){ ; }

Triggered when agent stops clicking on task

• integer num_detected

Examples

You can use numbers 0 through num_detected - 1 to get detected agent keys: <lsl>float t;

default {

   touch_start(integer num_detected)
   {
       t = llGetTime();
   }
   touch_end(integer num_detected)
   {
       llOwnerSay((string)(llGetTime() - t) + " seconds between touch_start and touch_end");
   }

}</lsl>

See Also

Events

•  touch_start
•  touch

Functions

•  llPassTouches

Deep Notes

Signature

event void touch_end( integer num_detected );