Boomerang weapon help

I was wondering if I could have some help with the boomerang for my Zelda 2/ Castlevania mashup platformer game. When I activate the boomerang I want it to work like the cross boomerang in Castlevania where it gets thrown and then will come back to me but the problem is that it will just keep moving in the direction I'm facing and won't disappear when it touches the player. Here is my game so far.