lil bit of help

i want the player to throw a boomerang type weapon that can destroy things tagged as enemy, or obstacle
how would i implement this?
preferably it flies toward the mouse

i should add, its for a sidescroller