A little boy in a red shirt and swim trunks plays at the beach.
The boy is having fun.
The boy might be bored and not having fun at all.
Circumstances are not explained, so the boy may not be having fun.
The child, although playing could indeed be bored as opposed to having fun.