this game takes up 100% gpu
GameMaker likes to use your Integrated Graphics instead of your GPU. Go to Windows Settings > Display > Graphics, add the game's .exe file to the list, and set it to High Performance. Alternatively, you should be able to change it in the NVIDIA App.
It's the one caveat to GameMaker, I swear... it HATES laptops -3-