Police and the firearms team responded to reports of a gun being fired in Bulkington Avenue, Worthing on Sunday (June 5).
Police spoke to the occupants of a property who admitted they had fired an air rifle into the communal gardens.
The rifle was seized and officers offered some "strong words of advice" to the occupants.
No one was harmed and no arrests were made.
Police and armed units congregated on South Farm Road.