Python end of the script

How to know if started script is done ? I want to run some functions after the script is done with walking or etc.

add stop at the end

Okay but how does python knows the script has ended.

Are you talking about a normal training area script or using the start_script api?

start_script api

Youd have to write a function to check your position i guess. I dont think anything is returned when the script is finished.

1 Like

yes I thought the same way too