# FX2D mouseWheel don't work

**URL:** <https://discourse.processing.org/t/fx2d-mousewheel-dont-work/8263>\
**Category:** Processing\
**Created:** [February 10, 2019, 12:59pm UTC](https://discourse.processing.org/t/fx2d-mousewheel-dont-work/8263 "2019-02-10T12:59:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/dennis/32/1111_2.png) [@Dennis](https://discourse.processing.org/u/Dennis)\
**Post date:** [February 10, 2019, 12:59pm UTC](https://discourse.processing.org/t/fx2d-mousewheel-dont-work/8263/1 "2019-02-10T12:59:45Z")

</div>

Hi, today I find this strange behavior: when in the comand `size()` I set the render mode `FX2D` the function `mouseWheel` don’t recognize the count of wheel.

This Example Work fine

```auto
void setup() {
  size(100, 100); // basic comand size()
}
void draw() {
} 

void mouseWheel(MouseEvent event) {
  float e = event.getCount();
  println(e);
}

```

Now I put the render mode `FX2D` and the mouseWheel don’t work:

```auto
void setup() {
  size(100, 100,FX2D); // comand size with render mode FX2D
} 
void draw() {
} 

void mouseWheel(MouseEvent event) {
  float e = event.getCount(); // getCount not recognize the wheel count
  println(e);
}

```

in this last case the local variable `event` stay always at value 0.0

It’s a normal action?

Thanks…

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [February 10, 2019, 1:12pm UTC](https://discourse.processing.org/t/fx2d-mousewheel-dont-work/8263/2 "2019-02-10T13:12:13Z")

</div>

you need to give much more information!

here: win 7 / 64bit // processing ide 3.5.3 64bit / OK

 ![snap_0031](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/38df8766df7c2ea94e6bdd8e96fdb045e08b6068.jpeg)

also i found:

> <https://github.com/processing/processing/issues/5204>

---

<div class="post-metadata">

**Author:** ![Dennis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/dennis/32/1111_2.png) [@Dennis](https://discourse.processing.org/u/Dennis)\
**Post date:** [February 10, 2019, 1:19pm UTC](https://discourse.processing.org/t/fx2d-mousewheel-dont-work/8263/3 "2019-02-10T13:19:14Z")

</div>

Hi Kll, my system is:  
Win10 / 64bit / processing ide 3.5.3 64bit

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/f1fb314a7fe1ecd488745c75e283d203038e0fd4.png)

unfortunately on my system don’t work.  
But thanks of You I understand that the problem are on my system,  
it’s a good place to start…
