McKINNEY, Texas (CBSDFW.COM) – A 17-year-old boy is in custody after allegedly shooting and killing a 10-year-old boy in McKinney, police said.

It happened inside a unit at The Atlantic McKinney Ranch apartments at 5500 McKinney Place Drive around noon on Friday.

Apartment complex in McKinney where 10-year-old boy was shot. (Chopper 11)

There is no word on if the 10-year-old was the target of the shooter or an innocent bystander.

Apartment complex in McKinney where 10-year-old boy was shot. (Chopper 11)

Detectives are collecting evidence and talking to witnesses.

The area near the unit where the shooting happened was sealed off during the investigation.

Neighbors who said they know the teenager and the 10-year-old, told CBS 11 the two are related, but police have not confirmed that.