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

## SYNOPSIS

n = #ani

## DESCRIPTION

Queries the number of frames stored in an animation player. Animation player instances are returned by the functions gcx:play or gcx:player.

## RETURN VALUE

A number indicating the number of frames stored in the player.

## ERRORS

Raises an error if ani is not an animation player.

## SEE ALSO

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