Hanging out with friends can make kids less sedentary, but having inviting outdoor spaces and nearby parks can help them be more physically active, according to new research.