# Exports

There are 2 exports included with the script (client-side).

<table><thead><tr><th width="233">Export</th><th width="248.33333333333331">Description</th><th width="138">Parameter(s)</th><th>Return type</th></tr></thead><tbody><tr><td>IsPlayerBlinded</td><td>Returns if the local player is blinded by a stungrenade</td><td>None</td><td>Boolean</td></tr><tr><td>GetPlayerBlindnessLevel</td><td>Gets the level of blindness (0.0 to 1.0)</td><td>None</td><td>Number</td></tr></tbody></table>

## Example

```lua
local isBlinded = exports.stungrenade:IsPlayerBlinded()
local blindnessLevel = exports.stungrenade:GetPlayerBlindnessLevel()

if isBlinded then
    print(string.format("Local player is blinded at level %s", blindnessLevel))
else
    print("Local player is not blinded")
end
```
