Home Contents | # ani:isplaying | Graphics | Core4 Lua Commands

## SYNOPSIS

ani:isplaying()

## DESCRIPTION

Determines if an animation player is currently playing. Animation player instances are returned by the functions gcx:play or gcx:player.

## RETURN VALUE

Returns true if the player is active, false if not.

## ERRORS

Raises an error if ani is not an animation player.

## EXAMPLE

> > > >
fb = gfx.open() img = fb:load("/media/mmc0a/throbber.gif") ani = img:play(69, 105) print (ani:isplaying())
true

## SEE ALSO

#ani, ani:close, ani:pause, ani:play, ani:start, ani:stop, gcx:play, gcx:player