Hamlet does not immediately avenge himself on his uncle, for instance, in the plot of Shakespeare’s play, because there are obstacles to doing so. Though of course one might say that he himself gives rise to those obstacles — that they weren’t there until he caused them to be there, or until he saw them.