Image & Canvas
addColorStop
$addColorStop — Adds a color stop (offset 0 to 100) to a gradient; with an empty name, to the next gradient created.
Adds a color stop (offset 0 to 100) to a gradient; with an empty name, to the next gradient created.
Syntax
$addColorStop[(name);offset;color]
Parameters
- name (String, optional) — Gradient name (empty: the next one)
- offset (Number, required) — Offset from 0 to 100
- color (String, required) — Color
Return Value
- None.
Usage
$addColorStop[name;offset;color] → result
Example
$sendMessage[$addColorStop[name;offset;color]]
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.