# Questions about the vtkAnimationScene

**URL:** https://discourse.vtk.org/t/questions-about-the-vtkanimationscene/11227
**Category:** Support
**Tags:** code
**Created:** [April 17, 2023, 7:39am UTC](https://discourse.vtk.org/t/questions-about-the-vtkanimationscene/11227 "2023-04-17T07:39:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tong\_yang](https://discourse.vtk.org/user_avatar/discourse.vtk.org/tong_yang/32/6355_2.png) [@tong\_yang](https://discourse.vtk.org/u/tong_yang)
#### Post date: [April 17, 2023, 7:39am UTC](https://discourse.vtk.org/t/questions-about-the-vtkanimationscene/11227/1 "2023-04-17T07:39:15Z")

</div>

Hello,  
I want to make a video by vtkAnimationScene. I have referenced this link [https://kitware.github.io/vtk-examples/site/Cxx/Utilities/AnimationScene/](https://kitware.github.io/vtk-examples/site/Cxx/Utilities/AnimationScene/).

When I ran this code in the qt window, there was a problem of blocking the interface and causing it to not refresh. i call vtkAnimationScene::Play() when button was clicked.

So. i want to known how to use vtkAnimationScene to avoid this problem.

Could you please advise for me?

Thank you 🙂
