Jump to content

How to listen on mouse wheel event?


Recommended Posts


I was wondering how to get the mouse wheel event? Does phaser have anything special, or I should use the normal javascript event?

I was looking at https://photonstorm.github.io/phaser3-docs/Phaser.Input.InputPlugin.html but they don't list the events available. I wonder where can I see the list of events that the scene.input emits. Took a quick look at https://github.com/photonstorm/phaser/blob/v3.11.0/src/input/InputPlugin.js but doesn't seem to have any list of events, must come from some other file...

? I used phaser 2 a few years ago, now I'm back to use phaser 3. I'm still disappointed with how hard is to get started with anything, most likely because of the docs (slow, confusing and incomplete). I really appreciate the effort of phaser, but really disappointed with the docs/api. I'm developing software for +10 years, and I never had to deal with something like this.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...