If you used the mouse object's on object clicked condition, it should only affect the object you clicked.
If your blocks are overlapping and you are clicking multiple at a time, you can add an additional condition. Add the sprite object - pick highest/lowest condition.