They were running down an alleyway off Almondbury Bank.
Detectives are investigating a shooting in Huddersfield on Monday night.
It's reported that, at around 11.45pm on Monday night, gun was fired in the direction of a group of males on Almondbury Bank in Moldgreen.
They were running down an alleyway which leads to Old Bank Fold.
Detective Inspector Andy Farrell said: “Clearly any firearms discharge will cause some concern in the local community and I would like to reassure members of the public that we take all firearms incidents extremely seriously and have extensive enquiries underway to identify those involved.
“This appears to have been a targeted attack. At this time, the group of males that the firearm has been targeted at have not come forward to the police. We would urge them to do so so that we can assure they are safe and well and put any appropriate safeguarding measures in place."