I have a TCP button on my screen.
With the first example, it will go to the position specified by the Tool Change Pos. on the settings screen. Easy to adjust at any time.
The second example does as you say but if you need to change it, you have to change the script.
I know little about it, just from studying other posts and guessing at it.
The While IsMoving just makes the next step wait until the current step is finished.
If you try these, keep your hand on the BIG RED BUTTON !
RC