# PetscDrawGetPause
Gets the amount of time that program pauses after a `PetscDrawPause()` is called. 
## Synopsis
```
#include "petscdraw.h" 
PetscErrorCode PetscDrawGetPause(PetscDraw draw, PetscReal *lpause)
```
Not collective


## Input Parameters

- ***draw   -*** the drawing object
- ***lpause -*** number of seconds to pause, -1 implies until user input





## Note
By default the pause time is zero unless the -draw_pause option is given


## See Also
 `PetscDraw`, `PetscDrawSetPause()`, `PetscDrawPause()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/interface/dpause.c.html#PetscDrawGetPause">src/sys/classes/draw/interface/dpause.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/interface/dpause.c)


[Index of all Draw routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
