A man was playing with a toy, making a banging sound and flashing lights.