Trouble with Spacebar and HTML5 games

Hello!

Well, I am creating a top down shooter game, and I really want to use the spacebar to shoot.

The problem: on the browser, the spacebar scrolls up the screen!

So, how can I implement something like a JavaScript “preventDefault()” on GDevelop?