ll.DetectedTouchPos

ll.DetectedTouchPos(Index: number) : vector

Returns the position, in region coordinates, where the object was touched in a triggered touch event. Unless it is a HUD, in which case it returns the position relative to the attach point.

Example

ll.DetectedTouchPos(15)
{
  "def": "func",
  "desc": "Returns the position, in region coordinates, where the object was touched in a triggered touch event.\nUnless it is a HUD, in which case it returns the position relative to the attach point.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlDetectedTouchPos",
  "name": "DetectedTouchPos",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "vector"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Index",
          "desc": "Index of detected information",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll