local function start()
print("touched")
end
LLEvents:once("touch_start", start)
[save script]
(pointer is hand)
[touching]
-- > touched
(pointer is arrow)
[reset script in the editor]
(pointer is hand)
[touching]
(nothing) <- missed the first touch
(pointer is hand)
[touching]
-- > touched <- got the second touch
(pointer is arrow)
---
Works well with:
  • Reset the script in the editor
  • Take the object to inventory
  • Rezz the object
  • Touch -- > touched
---
Works well with LLEvents:on():
local function start()
print("touched")
end
LLEvents:on("touch_start", start)