# \[Script\]WME PH Utils

**URL:** <https://www.waze.com/discuss/t/script-wme-ph-utils/399652>\
**Category:** Addons, Extensions, And Scripts\
**Created:** [February 18, 2026, 4:39pm UTC](https://www.waze.com/discuss/t/script-wme-ph-utils/399652 "2026-02-18T16:39:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgenqueiroz](https://www.waze.com/discuss/user_avatar/www.waze.com/georgenqueiroz/32/132809_2.png) [@georgenqueiroz](https://www.waze.com/discuss/u/georgenqueiroz)\
**Post date:** [February 18, 2026, 4:39pm UTC](https://www.waze.com/discuss/t/script-wme-ph-utils/399652/1 "2026-02-18T16:39:16Z")

</div>

In certain areas, a high density of permanent hazards—especially after traffic lights feature was released—can cause WME to lag or run slowly on some computers.

To improve performance, this script automatically toggles the permanent hazard layer visibility based on a user-defined zoom level threshold.

**How to use:**

1. Click on the Scripts tab in the sidebar.

2. Open WME PH Utils.

3. Select the zoom level at which you want the permanent hazard layer to become visible.

Download: [https://greasyfork.org/pt-BR/scripts/566674-wme-ph-utils](https://greasyfork.org/pt-BR/scripts/566674-wme-ph-utils)

---

<div class="post-metadata">

**Author:** ![abc1357](https://www.waze.com/discuss/user_avatar/www.waze.com/abc1357/32/78702_2.png) [@abc1357](https://www.waze.com/discuss/u/abc1357)\
**Post date:** [February 18, 2026, 5:55pm UTC](https://www.waze.com/discuss/t/script-wme-ph-utils/399652/2 "2026-02-18T17:55:38Z")

</div>

The script enables the Hazards layer even when I start WME with it previously disabled. It sounds like that is the design.

I thought that it would just hide the PHs.

Thanks.

---

<div class="post-metadata">

**Author:** ![georgenqueiroz](https://www.waze.com/discuss/user_avatar/www.waze.com/georgenqueiroz/32/132809_2.png) [@georgenqueiroz](https://www.waze.com/discuss/u/georgenqueiroz)\
**Post date:** [February 19, 2026, 12:09am UTC](https://www.waze.com/discuss/t/script-wme-ph-utils/399652/3 "2026-02-19T00:09:34Z")

</div>

You’re right, and I was aware of that.

The problem is that I haven’t been able to find a way to check if the PH layer was previously enabled or not using the SDK.

I’m looking for a solution and will update the script as soon as I find one.

Thanks for your comment!
