Rock n play

😀
I have a rock n play that I was going to use for the first few months near my bed for the baby at night. Is his ok for the baby to sleep in at night or should I get a pack n play to put up in our room. The thing is we don't have a big room so the rock n play would fit better but it doesn't allow the baby to lay flat. Is that a problem? First time mom here. Thanks!