How to pray

i pray a lot for my anxiety but Does God ‘look at’ how one prays? as in if i’m lying in bed vs kneeling in the side of my bed?