How to make the character movement follow the mouse cursor

Thanks for the answer, but I can’t find where to place the event tick for this to work on the Top Down template. Can you help me with this?