was I caught cheating?

I'm 14 and this is a science test I have very small faith in myself and I wanted to cheat I wrote answers on a eraser and used it in class during class I left the earser to the side were the notes were and the teacher walked pass did she catch me or like not I never want to cheat again because I feel so bad that I did