# GameMaker Studio 2 random isnt random [duplicate]

I'm making a game where things randomly generate. It used to work, but now all the sudden they keep spawning in the same area every time. does anybody know a fix?

You need to call randomize to set the seed to a random value