My PlatForm Moves Continuously

How to do get the location of start and end can you show me an example like:-(platform and scene Component)