Skip to content

llDetectedTouchPos

function 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.

Parameters
Index (number)
Index of detected information

Add example usage here showing SLua/Luau syntax with ll.DetectedTouchPos().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.