The incident happened on Magnus Drive in Glenrothes about 6pm on Thursday.
The pellet narrowly missed the boy’s eye, a social media post from Collydean Parent Council said. The post said: “A child’s face has been hurt, the skin broken, by a child using a BB gun at Magnus Drive park.
“The child was shot on the cheek, but an inch higher and it would have been the eye!! The kid with the gun apologised, was an accident, but please, please, if this is your child, take the gun from them, it’s not a toy.” Police Scotland confirmed they were investigating the incident.