> ## Documentation Index
> Fetch the complete documentation index at: https://docsuncv2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# oth.get_original_thread

Gets the original execution thread context associated with an Oth hook.

```luau theme={null}
oth.get_original_thread(): thread?
```

## Returns

`thread?` - The original execution thread.

## Example

<CodeGroup>
  ```luau Example 1 theme={null}
  local t = oth.get_original_thread()
  print("Original thread: ", t)
  ```

  ```luau Example 2 theme={null}
  if oth.get_original_thread() then
      print("Currently running inside a hooked thread context")
  end
  ```
</CodeGroup>

<Tip>
  Allows accessing variables scoped to the original thread execution.
</Tip>
