Skip to content
Image & Canvas NQlookup

$NQlookup — Returns the color [r, g, b, a] at an index of the color map.

Returns the color [r, g, b, a] at an index of the color map.

Syntax

$NQlookup[name;idx]

Parameters

  • name (String, required) — Instance name
  • idx (Number, required) — Index

Return Value

  • Json.

Usage

$NQlookup[name;idx] → result

Example

$sendMessage[$NQlookup[name;idx]]

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.