<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eeb+Voom</id>
	<title>Second Life Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eeb+Voom"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/wiki/Special:Contributions/Eeb_Voom"/>
	<updated>2026-06-10T08:51:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=Talk:LlDetectedTouchST&amp;diff=90118</id>
		<title>Talk:LlDetectedTouchST</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Talk:LlDetectedTouchST&amp;diff=90118"/>
		<updated>2008-09-07T13:52:01Z</updated>

		<summary type="html">&lt;p&gt;Eeb Voom: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Talk}}&lt;br /&gt;
&lt;br /&gt;
Regarding the phrase &amp;quot;Each component is in the interval [0.0, 1.0].&amp;quot; - what scale is that? Metres? Or do you mean that 0.0 is the bottom/left and 1.0 is the top/right? (Or 0.0 is top, or 1.0 is left.. I don&#039;t know.)&lt;br /&gt;
I can&#039;t log in to SL right now or I&#039;d test it and find out, but anyone who knows, please update the wiki.&lt;br /&gt;
&lt;br /&gt;
:The bottom left corner of a vertical forward facing surface I think will return &amp;lt;0.0, 0.0, 0.0&amp;gt;. The top right corner would be &amp;lt;1.0, 1.0, 0.0&amp;gt;. The size of the face has no bearing on the value returned by llDetectedTouchST (so there is no &amp;quot;scale&amp;quot;). -- &#039;&#039;&#039;[[User:Strife_Onizuka|Strife]]&#039;&#039;&#039; &amp;lt;sup&amp;gt;&amp;lt;small&amp;gt;([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])&amp;lt;/small&amp;gt;&amp;lt;/sup&amp;gt; 02:20, 7 September 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
___________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
Yes, Bottom Left would be &amp;lt;0,0,0&amp;gt; and Top Right would be &amp;lt;1,1,0&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- [[User:Eeb Voom|Eeb Voom]] 06:52, 7 September 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
___________________________________________________________________&lt;/div&gt;</summary>
		<author><name>Eeb Voom</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlDetectedTouchST&amp;diff=90081</id>
		<title>LlDetectedTouchST</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlDetectedTouchST&amp;diff=90081"/>
		<updated>2008-09-07T06:07:38Z</updated>

		<summary type="html">&lt;p&gt;Eeb Voom: Added an example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL_Function/detected|index|TouchST|simple=*}}{{LSL_Function&lt;br /&gt;
|func_id=342|func_sleep=0.0|func_energy=10.0&lt;br /&gt;
|func=llDetectedTouchST&lt;br /&gt;
|return_type=vector|return_text=that is the surface coordinates for where the prim was touched. The x &amp;amp; y vector positions contain the horizontal (&#039;&#039;&#039;s&#039;&#039;&#039;) &amp;amp; vertical (&#039;&#039;&#039;t&#039;&#039;&#039;) face coordinates respectively (&#039;&#039;&#039;{{NoWrap|{{LSL_VR|s|t|0.0}}}}&#039;&#039;&#039;). Each component is in the interval [0.0, 1.0].&lt;br /&gt;
&lt;br /&gt;
{{NoWrap|{{LSL_VR|-1.0|-1.0|0.0}}}} is returned when the surface coordinates cannot be determined. See [[#Caveats|Caveats]] for further details.&lt;br /&gt;
|p1_type=integer|p1_name=index&lt;br /&gt;
|func_footnote=For the {{LSLGC|Touch|touch}} category of events only.&lt;br /&gt;
|func_desc&lt;br /&gt;
|spec&lt;br /&gt;
|caveats=&lt;br /&gt;
&#039;&#039;&#039;{{NoWrap|{{LSL_VR|-1.0|-1.0|0.0}}}} is returned when...&#039;&#039;&#039;&lt;br /&gt;
* The avatar&#039;s viewer does not support face touch detection.&lt;br /&gt;
** To check if face touch detection is supported check the return of [[llDetectedTouchFace]].&lt;br /&gt;
* The touch has moved off the surface of the prim.&lt;br /&gt;
* The touch happened too close to the edge of the face to determine a location.&lt;br /&gt;
* The triggering event is not a touch event.&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;lsl&amp;gt;default {&lt;br /&gt;
 &lt;br /&gt;
    touch_start(integer num_detected) {&lt;br /&gt;
        integer i = 0;&lt;br /&gt;
        for(; i &amp;lt; num_detected; ++i ) {&lt;br /&gt;
            vector touchedpos = llDetectedTouchST(i);      &lt;br /&gt;
            &lt;br /&gt;
            if (llDetectedTouchFace(i) == -1) {&lt;br /&gt;
                llWhisper(0, &amp;quot;Sorry, your viewer doesn&#039;t support touched faces.&amp;quot;);&lt;br /&gt;
            }&lt;br /&gt;
            else if ( touchedpos == &amp;lt;-1.0, -1.0, 0.0&amp;gt; ) {&lt;br /&gt;
                llWhisper(0, &amp;quot;Sorry, the surface touch position could not be determined.&amp;quot;);&lt;br /&gt;
            }&lt;br /&gt;
            else {&lt;br /&gt;
                llWhisper(0, (string) touchedpos);&lt;br /&gt;
            }&lt;br /&gt;
        } // while ...&lt;br /&gt;
    } // touch_start&lt;br /&gt;
&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&amp;lt;lsl&amp;gt;vector touchedLoc;&lt;br /&gt;
&lt;br /&gt;
default {&lt;br /&gt;
 //Draws a cross-hair at the detected Location on the detected face.&lt;br /&gt;
&lt;br /&gt;
    touch(integer num_detected) {&lt;br /&gt;
        integer i;&lt;br /&gt;
        for (i = 0; i &amp;lt; num_detected; i++) {&lt;br /&gt;
            touchedLoc = llDetectedTouchST(i); //What location has been touched?&lt;br /&gt;
            llSetPrimitiveParams([PRIM_TEXTURE, llDetectedTouchFace(i), &amp;quot;5ac7995c-4c24-8b60-ae61-6a837619dc75&amp;quot;,&lt;br /&gt;
                          &amp;lt;1.0,1.0,0.0&amp;gt;, touchedLoc, 180*DEG_TO_RAD]); //Set the Texture Location at the touched location&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|related&lt;br /&gt;
|also_functions=&lt;br /&gt;
{{LSL DefineRow||[[llDetectedLinkNumber]]}}&lt;br /&gt;
{{LSL DefineRow||[[llDetectedTouchFace]]}}&lt;br /&gt;
{{LSL DefineRow||[[llDetectedTouchUV]]}}&lt;br /&gt;
{{LSL DefineRow||[[llDetectedTouchPos]]}}&lt;br /&gt;
{{LSL DefineRow||[[llDetectedTouchNormal]]}}&lt;br /&gt;
{{LSL DefineRow||[[llDetectedTouchBinormal]]}}&lt;br /&gt;
|also_events=&lt;br /&gt;
{{LSL DefineRow||[[touch_start]]|}}&lt;br /&gt;
{{LSL DefineRow||[[touch]]|}}&lt;br /&gt;
{{LSL DefineRow||[[touch_end]]|}}&lt;br /&gt;
|also_articles&lt;br /&gt;
|notes&lt;br /&gt;
|history=Introduced in Viewer {{SVN|870|rev=92872|branch=Release|anchor=file14|date=Wednesday, 23 July 2008}}, Supported by Beta Server 1.24.0.93754 (Wenesday 6th August 2008), and viewer binary 1.20.15 (93532).&lt;br /&gt;
|cat1=Touch&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Eeb Voom</name></author>
	</entry>
</feed>