depends on how much programming your willing to learn. the game maker family in general has a pretty nice visual scripting language, where as godot's visual scripting is (IMO) really bad, so you would want to go with the former for that.
Meanwhile, while I haven't used gm2's scripting specifically, godot's built in language blows game maker 1's out of the park, and that's coiming from someone who hates indend base syntax.
As for my overall opinion, I think godot is the better engine between. It's less restrictive on how to use it, it has native linux support for both export AND editor, and it's free. Again though, if you struggle to wrap your head around traditional programming, GM2 will probably be easier to use, as I have yet to find decent learning material for godot's visual scripting.
UTOPIA39mc
I dont know both. I only know construct, unity and scratch lol
HeyPixel
As far as I know, Game maker is really popular
And Godot it's like Unity, but more light and open source, also free lol