# Client Event Timer Enabled/Disabled

**URL:** <https://forum.inductiveautomation.com/t/client-event-timer-enabled-disabled/34443>\
**Category:** Ignition\
**Created:** [May 5, 2020, 1:29pm UTC](https://forum.inductiveautomation.com/t/client-event-timer-enabled-disabled/34443 "2020-05-05T13:29:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Lee](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@Kevin\_Lee](https://forum.inductiveautomation.com/u/Kevin_Lee)\
**Post date:** [May 5, 2020, 1:29pm UTC](https://forum.inductiveautomation.com/t/client-event-timer-enabled-disabled/34443/1 "2020-05-05T13:29:12Z")

</div>

Hi there,

I wonder if anyone can help? I have created a client event timer script which I want to count to 5 seconds and then reset a tag value. This bit all works absolutely fine but as the client event script is always running I don’t know what the value of my timer is at a given time. Therefore I want to enable it and disable it from a button script but I can’t seem to find the path to the timer.

Does anyone know how I can enable and disable my client event script at runtime?

Thanks in advance  
Kevin Lee

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [May 5, 2020, 2:02pm UTC](https://forum.inductiveautomation.com/t/client-event-timer-enabled-disabled/34443/2 "2020-05-05T14:02:48Z")

</div>

You could have your client event script check a memory tag boolean value which you could use to enable/disable that section of script?

so in your script you’d have something like:

```auto
enabled = system.tag.readBlocking(["PathTo/TagToEnableScript"])[0].value
if enabled ==True:
      #Do things

```

---

<div class="post-metadata">

**Author:** ![Kevin\_Lee](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@Kevin\_Lee](https://forum.inductiveautomation.com/u/Kevin_Lee)\
**Post date:** [May 5, 2020, 2:52pm UTC](https://forum.inductiveautomation.com/t/client-event-timer-enabled-disabled/34443/3 "2020-05-05T14:52:42Z")

</div>

Hi Jonathan,

Thanks for your reply. I think what you have written is exactly what I am looking for but I do not know the path to the client event timers?

Kind Regards

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [May 6, 2020, 8:14am UTC](https://forum.inductiveautomation.com/t/client-event-timer-enabled-disabled/34443/4 "2020-05-06T08:14:24Z")

</div>

You will find them in here

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/b69561eba29ac7dc36feb5a71a60ba6600ce9f74.png)
