The Law of Effect Thorndike’s cats displayed trial-and-error behaviour when trying to escape from the puzzle box. They made lots of irrelevant movements and actions until, over time, they discovered the solution. Once they figured out what behaviour was instrumental in opening the latch, they stopped all other ineffective behaviours and escaped from the box faster and faster.