Go to the BP_CharacterComponent then open the LeanTick function and add the nodes shown in the image below.