Hi there, thanks for the piece of code, it was super useful.
I used it as a base and added some stuff, like making it work on any character, as well as adding a blend time. Here it is in case that can be useful to someone who passes by this thread:
…