You could say, for example.
'I broke the light and I got away with it. My mother thought it was the dog that had broken it!.
This means that you did something bad but nobody knew it was you who did it, so you weren't punished. Is that what you wanted to say?