• Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!

Windows I want to register alt commands to windows so that the game stops beeping when I hit alt

I have a generic key binding system for my game that uses the shift, alt, and control keys as a means of getting more functionality out of commonly pressed keys.

The problem is that any key bind that includes the "alt" key will make a loud windows error notification (default beep) even though the key binding itself works fine.
here's a snippet of my checkInput script:

if keyboard_check(vk_alt)
if keyboard_check_pressed(ord("3"))
myCommand = levelUp3;
return true;

Like I said, this bit of code actually does work, but it beeps anyway just for good measure. Just wondering if there's any way to fix that, or if I should just live without the alt key.