Play simulation through python scripting extension

Hello there, I have an extension I have created with a button (scripting through python). When I click the button, I would like the Omniverse simulation to start (play) instead of having to hit the separate play button. How can I achieve this?

you could try using the kit execute command:

import omni.kit.commands

# play

# pause

# stop

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.