Follow CBSMIAMI.COM: Facebook | Twitter

BOYNTON BEACH (CBSMiami/AP) — Two boys who skipped school on Monday were briefly detained by police after they reportedly pointed realistic-looking BB guns at traffic.

READ MORE: Florida School Quarantine Rule Could Be Extended

Boynton Beach police spokeswoman Stephanie Slater said they got a 911 call about the boys and sent officers to check it out.

Police say the boys, ages 10 and 12, tossed the guns on the ground when the officers arrived. They reportedly admitted to skipping school and pointing the guns at cars.

READ MORE: No Bond For Accused Hollywood Cop Killer Jason Banegas Who Was Released From Jail 30 Days Ago On Probation

Slater said this was a very dangerous situation and it could have ended badly.

The juveniles were later released to the custody of their mother.

MORE NEWS: Supply Chain Issues: 'There Really Are Problems Everywhere,' Even For Small Companies

(TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)