How do I make a moving platform?

I was able to make my own interpolate thingy. However a problem that plagues me now is that the platform moves with the screen view, like the main character, and I cant figure out how to keep in on the places that I supposedly constrained it to (270 to 415).
I wanted it to go back and forth from those 2 spots.
I wanted it to go back and forth from those 2 spots.
This discussion has been closed.
Comments
interpolate attribute: self.Position.X to 415
interpolate attribute: self.Position.X to 270
Close thread