How to make enemy character move back and forth

Hi can anyone explain how to make enemy char move back and forth in blender game engine… ?
Ive search for tuturals but found none…

Thanks!!

Thanks!! works very well :slight_smile: