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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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