Skip to content
Image & Canvas nextFrameInfo

$nextFrameInfo — Reads the next frame without its pixels: returns its info as JSON and keeps it in $env[name].

Reads the next frame without its pixels: returns its info as JSON and keeps it in $env[name].

Syntax

$nextFrameInfo[gif;name]

Parameters

  • gif (String, required) — Decoder name
  • name (String, required) — Variable name

Return Value

  • Json.

Usage

$nextFrameInfo[gif;name] → result

Example

$sendMessage[$nextFrameInfo[gif;name]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.