I am making a Tetris game, as of now, it doesn't have any sort of locking system. Basically, on the start of the game, a shape is spawned in, it falls to the bottom of the screen, once it hits the bottom of the screen, or (later in the game) another block, a new block should be spawned in and begin to fall. The problem is, the script that spawns in another block is:
on collision with (another shape) or the ground:
As you can probably tell, every time a slight collision is made (this is an intentionally bad Tetris game that uses physics) a new shape is spawned, causing thousands to spawn in and break the game... What should I do?