Not really. At least in my experience, "under the sun" is only really used in the expression "There is nothing new under the sun". The more natural way to say what you probably mean is "The kids were playing games in the sun".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.