Hey All!

I want to try to do a 2D Frogger/Chameleon Twist type adventure game with platforming, puzzles and combat which leads me to my question:

Ideally I want the player to have some appendage like a tongue they can extend and draw with and after either the player lets go of the button or a max distance is reached it will automatically retrace the path and return to the player
Enemies that touch the end of the appendage will take damage but enemies that touch the sides of the appendage will inflict it.
any variation of this will be fine for what I'm trying to do
I'm using this tutorial series for grid based movement so the character moves more like frogger but the rules for the appendage don't have to be as restrictive
Thanks! OzLabs