> For the complete documentation index, see [llms.txt](https://stachemsc.gitbook.io/stache-phone/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stachemsc.gitbook.io/stache-phone/making-adjustments/exports-and-events/client/exports.md).

# Exports

{% hint style="info" %}
Usage is as follows.

```lua
exports["stache-phone"]:PhoneOpenState()
```

{% endhint %}

<details>

<summary>PhoneOpenState</summary>

It lets you know if the phone is open or not.

</details>

<details>

<summary>PhoneToggleState</summary>

It is used to turn the phone on and off.

<mark style="color:red;">Parameters:</mark>

* State (<mark style="color:purple;">bool</mark>)  (If you send true, the phone turns on, if you send false, it turns off.)

</details>

<details>

<summary>PhoneSetState</summary>

Availability adjustment of the phone. If false the phone will not be turned on, if true the phone will be available.

<mark style="color:red;">Parameters:</mark>

* State (<mark style="color:purple;">bool</mark>)  (Not required, if you do not send a value, it will apply the inverse of the value found)

</details>
