To earlier comments, Game Maker isn't the best, but from what I can remember you're able to use actual code on it instead of those predetermined 'blocks' that it tells you to use.
I actually had a somewhat functional topdown shooter that I made in GM using actual code but I had to stop cause my trial ran out
It's definentely not the best, but you can learn actual coding in it