Is there a way to play a sound when making input inside Web Browser plugin?

Basically the title. I want that in every input, like mouse clicking and keyboard clicking, it plays a sound. I can’t get it to work with that plugin. There is no “on pressed” on the events and On Mouse Button Down doesn’t actually work.