Skip to main content

Values

Item By Id​

value.item

A copy of an item from the item registry; missing when the id is unknown

OutTypeWhat it is
ValueItemA copy of the item; missing when the id is unknown

Mutate Color​

color.mutate

Changes the properties of a Color that are given, the others stay as they are, and gives every property's value after the change

InTypeWhat it is
ColorColorA container for a color palette.
Alpha (optional)IntegerCreates a new Color object with specified component
Blue (optional)IntegerCreates a new Color object with specified component
Green (optional)IntegerCreates a new Color object with specified component
Red (optional)IntegerCreates a new Color object with specified component
OutTypeWhat it is
AlphaIntegerGets the alpha component
BlueIntegerGets the blue component
GreenIntegerGets the green component
RedIntegerGets the red component

Goes on with: Next

Read Color​

color.read

Reads the properties of a Color

InTypeWhat it is
ColorColorA container for a color palette.
OutTypeWhat it is
AlphaIntegerGets the alpha component
BlueIntegerGets the blue component
GreenIntegerGets the green component
RedIntegerGets the red component

Rgb Color​

color.rgb

Creates a new Color object from a red, green, and blue

InTypeWhat it is
RedIntegerinteger from 0-255
GreenIntegerinteger from 0-255
BlueIntegerinteger from 0-255
OutTypeWhat it is
ColorColora new Color object for the red, green, blue

Value​

value

A fixed value of the picked type

OutTypeWhat it is
Valueany typeThe value typed in