# GUI onPointerDownObservable only firing once?

**URL:** <https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602>\
**Category:** Bugs\
**Created:** [December 14, 2019, 9:00pm UTC](https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602 "2019-12-14T21:00:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![i73](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/i73/32/3167_2.png) [@i73](https://forum.babylonjs.com/u/i73)\
**Post date:** [December 14, 2019, 9:00pm UTC](https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602/1 "2019-12-14T21:00:57Z")

</div>

I’m getting weird behavior when trying to trigger a on click observable: [https://www.babylonjs-playground.com/#XCPP9Y#1606](https://www.babylonjs-playground.com/#XCPP9Y#1606)

When you click in the elips it should continue to keep lowering the rectangle but it only fires once.

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/wingnut/32/53_2.png) [@Wingnut](https://forum.babylonjs.com/u/Wingnut)\
**Post date:** [December 15, 2019, 3:14am UTC](https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602/2 "2019-12-15T03:14:46Z")

</div>

Hi i73

I see same symptom. It happens in my FF and Chrome browsers.

If you move your mouse pointer off-canvas between clicks… then you can repeat click.

ie. Click, then move pointer off-canvas, then pointer back-atop canvas, click again, repeat.

There MIGHT have been some changes to browser events that happened in October 2019, so maybe not BJS fault, but still broken.

I read-thru the [issues list](https://github.com/BabylonJS/Babylon.js/issues?page=1&q=is%3Aissue+is%3Aopen)… nothing pertinent seen. Let’s ping @Deltakosh, too … see if he has some words.

Sidenote: DK, I’m seeing no “easy name selector” feature (forum software) when trying to @ping other users. Just me? Others? shrug. Maybe a Discourse problem, but still needed reporting to BJS executive offices. heh.

---

<div class="post-metadata">

**Author:** ![Ateria](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ateria/32/1351_2.png) [@Ateria](https://forum.babylonjs.com/u/Ateria)\
**Post date:** [December 16, 2019, 2:23am UTC](https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602/3 "2019-12-16T02:23:09Z")

</div>

GUI functions normally for me (4.0.1) so maybe it’s a babylon issue?

Edit: after updating chrome to the newest version I’m experiencing the same issue of onPointerDown only firing once.

Also  
@Wingnut  
I think the @ping issue is on your end

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/wingnut/32/53_2.png) [@Wingnut](https://forum.babylonjs.com/u/Wingnut)\
**Post date:** [December 16, 2019, 10:57am UTC](https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602/4 "2019-12-16T10:57:35Z")

</div>

Hey @Ateria … thx for tests/info… well done. @ping thing is definitely on my end… with FF. I am logged-in with G-Chrome now… @ping names list is working fine. Thx again for verification and for de-goosing my goose-chasing.

I’m off to troubleshoot my stuff. Update of FF to newest… 60.9.0esr, no change seen. hmm.

> [@Ateria](#):
>
> GUI functions normally for me (4.0.1) so maybe it’s a babylon issue?

Yep. Clicking issue remains open/active.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [December 16, 2019, 3:41pm UTC](https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602/5 "2019-12-16T15:41:18Z")

</div>

On it!

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [December 16, 2019, 3:42pm UTC](https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602/6 "2019-12-16T15:42:58Z")

</div>

Here we are:  
[https://www.babylonjs-playground.com/#XCPP9Y#1611](https://www.babylonjs-playground.com/#XCPP9Y#1611)

Check line #33. To help with perf, you have to declare GUI elements that can receive events with isPointerBlocker

---

<div class="post-metadata">

**Author:** ![Ateria](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ateria/32/1351_2.png) [@Ateria](https://forum.babylonjs.com/u/Ateria)\
**Post date:** [December 16, 2019, 5:14pm UTC](https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602/7 "2019-12-16T17:14:24Z")

</div>

@Wingnut no problem, sorry I didn’t have more information for you.

@Deltakosh Thank you for being around, and helping as much as you do. We all appreciate it. \<3 I know it’s your job, but I can tell it’s also out of passion. I love it. It’s the main reason I use Babylon over other frameworks.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [December 16, 2019, 5:27pm UTC](https://forum.babylonjs.com/t/gui-onpointerdownobservable-only-firing-once/7602/8 "2019-12-16T17:27:29Z")

</div>

> [@Ateria](#):
>
> I know it’s your job, but I can tell it’s also out of passion

It’s a passion that became a job 😃
