R/scene.R
pause.Rd
Adds a pause to the animation timeline. During the pause, all visible objects remain static.
pause(scene, duration = 1) wait(scene, duration = 1)
A Scene object
Duration of the pause in seconds
The Scene object (invisibly) for piping
if (FALSE) { # \dontrun{ scene("demo") %>% add_text("First") %>% write_in() %>% pause(2) %>% add_text("Second") %>% write_in() %>% render() } # }