Trying to make an object move back and forth

I’m glad it work. Your start help me a lot with this Switch, rest was easy with some experience.