How can i make a static mesh or scene component move from on side of the screen to the other?

I’m making a small 2D side scroller game in c++ code. How can i make a static mesh or scene component move from on side of the screen to the other when the game starts?

I’d recommend going through the C++ tutorials first Programming with C++ | Unreal Engine Documentation then create a new project with the 2D sidescroller template as a C++ project, also have a look at the Paper2d docs:Paper 2D | Unreal Engine Documentation

Thank you.