Sleeping question

For mommies who are cosleeping with their babies what are you using to make sure you don’t roll on to him/her or how is your baby sleeping in your bed?