Live sync with scripted animation

I am using the Isaac Sim Python API to calculate time sampled translations for a Xform in a headless simulation (in a Jupyter Notebook, currently). I run Isaac Sim in live sync mode to watch the scene held on Nucleus.

When running world.step() I can not see my Xform moving in the UI, although I see the animation when I click play in the Isaac Sim UI. It seems the UI and the headless have their own „clock“ which seems logical to me. Any ideas though how I can make the UI display the state of the animation in sync with the headless simulation though?

Thank you
Bruno