I have a script that gets keyboard input. I want the script to be terminated when the stop button is pressed. I am using simulation context’s is_playing() to enter my stop_script() function, but I do not know what to do inside the stop_script() function, so that the keyboard subscriptions and the script is terminated.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| While using Python Script ,how to reset a variable after stop button is pressed | 1 | 597 | November 24, 2022 | |
| How to stop running infinite loop program launched from Script Editor? | 1 | 635 | March 1, 2023 | |
| Bug: Unable to interrupt Python script after starting SimulationApp | 0 | 355 | April 18, 2024 | |
| Handle stop button pressing from Extension | 0 | 209 | May 13, 2024 | |
| Stopping Demo Scenes is broken in Isaac Sim 4.1.0 | 0 | 101 | July 30, 2024 | |
| How kill subprocess.popen when the stop button is pushed | 4 | 1015 | March 31, 2023 | |
| Trigger "play" and "stop" using python scripts in script editor possible? | 2 | 581 | November 18, 2023 | |
| Keyboard shortcut to reset simulation | 3 | 287 | December 10, 2025 | |
| Unexpected exit code of Isaac Sim standalone script | 2 | 210 | April 23, 2025 | |
| Is there a better way to exit Isaac Sim UI than sys.exit(1)? | 3 | 301 | July 16, 2025 |