For the platforming portions of my game, I want my player to be able to obtain a 'grapple claw' item that allows them to grab ledges with their hands they otherwise wouldn't be able to reach.
So far, my plan for doing this is to create an invisible object overlapping the 'grabbable' part of the ledge. If the player comes into collision with that object, the game checks if you have the 'grapple claw' item, and if so, moves the player accordingly with the corresponding animation (temporarily taking over movement control from the player). Is this a decent way of accomplishing this goal? Is there a better way I'm missing?