I learned how to “code” from Wario Ware DIY, a Nintendo DS game where you could build your own minigames. I would have been about 13 at the time.
I remember being absolutely stumped trying to use the game maker at first. But I followed in-game tutorials, and it finally clicked how it worked. It was mostly just creating sprites and setting logic on them, i.e. “if you tap this sprite, set a flag”, “if this sprite collides with another, do Y”, etc
But I do credit it with first opening my mind to the fun and possibility of making computers do things.
Excellent game, just recently started playing touch for old times' sake!
I wonder if Mario Maker served similarly for the next cohort. Or even if Tears of the Kingdom, with such a flexible play style, encourages a similar spirit.