Children nap on a floor while others stand by.
Children are playing childish games while others stand by.
it cannot be either nap or playing
You can’t be napping and playing childish games.
The children can't be napping while playing games.