# return

> lsl.dev (unofficial LSL docs). Full API: https://lsl.dev/api.json · Index for LLMs: https://lsl.dev/llms.txt

> Leave current event or function.

```text
Leave current event or function.
return [<variable>];
Optionally pass back a variable's value, from a function.
```

---

From lsl.dev: https://lsl.dev/fundamentals/flow-control/return/
