# 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>
