CEDAR PARK, Texas -- The possibility of a shooting scare had police surrounding a Cedar Park middle school, but no danger was found.

The Cedar Park Police Department said two eighth-graders at Henry Middle School took photos of themselves holding an airsoft gun and posted them to social media.

Officers say when a school staff member learned about the pictures police were contacted and officers performed a sweep of the school. 

Police said they visited the home of one of the students to find out why the pictures were posted.