I never made a tutorial on it, but it's separate sprites so that I can move the sword independant of the player.
Thank you very much for replying.