Drowsy but awake

Arsh

How does one know that their baby is drowsy but awake when putting them down? Because when i put my lo down either he is too awake or in deep sleep. How can you tell?