Moving with a button

Can you help to write a script to move my character with a button on a UI ?
My project is a 2DSideScroller.
Sorry for my English I’m French.!
I already do this alt text

first you will need a execution source that that repeats such as tick or a timer. then you will need to have a reference to the character that you want to move, such as using get player character. that last bits you need are something to tell the character to move and a direction to move them, add movement input and getting a actors vector work well.

now i don’t work with 2d so things may be slightly different but the overall methodology should be the same.