I came this close to (doing something)

This is an expression that people say while holding their thumb and index finger close together (like they're holding a pea between them). It means "I almost (did something)":

I swear, I came this close to just punching him right in his face!

I came this close to getting killed by a bear!

People use this expression in spoken English, but almost never in writing.

This phrase appears in these lessons: