Referencia isLooping()

isLooping()

Returns true if the draw loop is running and false if not.

By default, draw() tries to run 60 times per second. Calling noLoop() stops draw() from repeating. The draw loop can be restarted by calling loop().

The isLooping() function can be used to check whether a sketch is looping, as in isLooping() === true.

Ejemplos

Sintaxis

isLooping()

Parámetros

Returns

boolean:

Referencias Relacionadas