But I would suggest Godot as an alternative for beginners now. Even though I don't like the proprietary scripting languages either uses by default, between GML and GDScript, the latter seems more powerful, and thus more educational. You can do "drag and drop and make a game for some defnition of a 'game'" in any of the modern game frameworks. But really, that only teaches you how to use the GUI, not how programming works.
Also Godot has a version that uses C#, and there are bindings for other languages out there (I don't know how complete or useful they are, though) whereas unless I'm wrong, with Game Maker you're stuck with GML.
I do hope to start publishing some children's games and educational interactive stories one day though, I just need to find an artist (or practice more myself).
It’s an incredibly powerful and easy to use game/interactive-app maker that can export packaged programs to Windows, OSX, Linux, and HTML5, then with additional licensing/fees to game consoles.
It has a drag-and-drop mode for absolute beginners that can let someone with zero experience be creating simple games in their first weekend playing with it.
Then it has GML mode which is their programming language with excellent documentation and a decent community cranking out tutorials and guides, which has put out some seriously legit indie games such as Red Strings Club, Hyperlight Drifter, and Hotline Miami.
It’s also not just for games. It’s great for making interactive stories (I’ve made interactive kids books with it), HTML5 demos and interfaces, 2D physics demos, and even does basic 3D stuff.
(Not affiliated just a big fan and use it extensively).