Already coded. Just in the player sprite make a hitbox and make sure the player goes to it or just do what ever.