I am new to GMS2 and was coding up a game when this happened: enter image description here
It would be of great help if anyone could help me
Most likely it's not objects that are multiplying, but that you don't have a background in your room, so whatever was drawn during the last frame stays there.