# Gate output is latching which is not what I need

**URL:** <https://forum.xod.io/t/gate-output-is-latching-which-is-not-what-i-need/1982>\
**Category:** Uncategorized\
**Created:** [March 10, 2019, 4:24am UTC](https://forum.xod.io/t/gate-output-is-latching-which-is-not-what-i-need/1982 "2019-03-10T04:24:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![texmex](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@texmex](https://forum.xod.io/u/texmex)\
**Post date:** [March 10, 2019, 4:24am UTC](https://forum.xod.io/t/gate-output-is-latching-which-is-not-what-i-need/1982/1 "2019-03-10T04:24:07Z")

</div>

The Gate Output latches and holds the last number that is going into the Input Pin when EN goes false. Is this the way it’s supposed to work because I would like it to output a Num of 0 when disabled.

Thanks

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [March 10, 2019, 5:39am UTC](https://forum.xod.io/t/gate-output-is-latching-which-is-not-what-i-need/1982/2 "2019-03-10T05:39:47Z")

</div>

Yes, use if-else or if-else-v , in false 0

---

<div class="post-metadata">

**Author:** ![texmex](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@texmex](https://forum.xod.io/u/texmex)\
**Post date:** [March 10, 2019, 6:59am UTC](https://forum.xod.io/t/gate-output-is-latching-which-is-not-what-i-need/1982/3 "2019-03-10T06:59:06Z")

</div>

Thanks, I don’t know why I didn’t think of that.

---

<div class="post-metadata">

**Author:** ![alansduino](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@alansduino](https://forum.xod.io/u/alansduino)\
**Post date:** [June 3, 2019, 6:12am UTC](https://forum.xod.io/t/gate-output-is-latching-which-is-not-what-i-need/1982/4 "2019-06-03T06:12:46Z")

</div>

Been chasing this one for days…THANK YOU
