Oops. I actually did something similar once. A friend, who is a federal agent came over to talk to some Cub Scouts about his job. He brought a few items for show and tell, including his full-auto M-4.
After he was done, I took it upstairs and was checking out the red dot sight on a house across the park that was behind my house.
Of course, I never leaned out the window or took pictures and I’m not named Mohammed
Jeff Cooper’s Four Rules:
All guns are always loaded.
Never let the muzzle cover anything you are not willing to destroy.
Keep your finger off the trigger until your sights are on the target.
Be sure of your target and what is beyond it.