From Second Life Wiki
Revision as of 13:19, 17 January 2016 by Omei Qunhua (talk | contribs) (Focus example 1 on demonstrating the function in question. Example 2 added nothing to the understanding of llSensorRemove() and is available elsewhere.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Function: llSensorRemove( );

Removes the sensor setup by llSensorRepeat.

There are no parameters or return value for this function, as only one llSensorRepeat can be specified per script.


  • If called within the sensor event then it also removes all of the sensor data that is accessed by the detection functions.
All Issues ~ Search JIRA for related Bugs


The following basic example shows an object that when touched starts scanning for avatars in 10m every 30 seconds, and stops as soon as at least one is found, and returns their name.

default {
    touch_start(integer x) {
        llSensorRepeat("", NULL_KEY, AGENT, 10.0, PI, 30.0);
    sensor(integer x) {
        llSay(0, llDetectedName(0) + " was found first!");

See Also


•  sensor Triggered when a sensor detects something
•  no_sensor Triggered when a sensor detects nothing


•  llSensorRepeat Scans for agents or objects every time period
•  llSensor Runs a sensor once

Deep Notes

Search JIRA for related Issues


function void llSensorRemove();


Call off the hounds.
The quarry has escaped us.
Back to the stables.