Waypoint movement in UR Script

Is this something you are trying to encorporate as part of a URCap? For example executing the movement when a button is pushed? If so then you will need to make use of teh secondary client interface. More information is available about this in this post.

You can use the secondary client to send URScript outside of a regular robot program.