Buy Me a Coffee at ko-fi.com

An action in the Figura Action Wheel
Actions are either interacted by clicking and scrolling, which also being able to be toggleable

Sets the color of the Action

overload 1:
Action.color(color: Vector3): Action
typings.2002444080typings.1955883606
Method PropertyFluent DescriptionRepresentation
color accepts
Return Value
overload 2:
Action.color(r: Number, g: Number, b: Number): Action
typings.-1950496919typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
r accepts
g accepts
b accepts
Return Value

Gets this Action color

overload 1:
Action.getColor(): Vector3
typings.2002444080
Method PropertyFluent DescriptionRepresentation
Return Value

Gets this Action hover color

overload 1:
Action.getHoverColor(): Vector3
typings.2002444080
Method PropertyFluent DescriptionRepresentation
Return Value

Gets this Action title

overload 1:
Action.getTitle(): String
typings.-1808118735
Method PropertyFluent DescriptionRepresentation
Return Value

Gets this Action toggled color

overload 1:
Action.getToggleColor(): Vector3
typings.2002444080
Method PropertyFluent DescriptionRepresentation
Return Value

Gets this Action toggled title

overload 1:
Action.getToggleTitle(): String
typings.-1808118735
Method PropertyFluent DescriptionRepresentation
Return Value

Sets the color of the Action when it is being hovered

overload 1:
Action.hoverColor(color: Vector3): Action
typings.2002444080typings.1955883606
Method PropertyFluent DescriptionRepresentation
color accepts
Return Value
overload 2:
Action.hoverColor(r: Number, g: Number, b: Number): Action
typings.-1950496919typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
r accepts
g accepts
b accepts
Return Value

Sets the item of the Action when it is being hovered

overload 1:
Action.hoverItem(item: ItemStack): Action
typings.-148280555typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value
overload 2:
Action.hoverItem(item: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value

Sets a Custom Texture to render while this Action is being hovered
All values are measured in pixels
Default UV is 0, 0, the default dimensions are the texture dimensions and the default scale of 1

overload 1:
Action.hoverTexture(texture: Texture): Action
typings.246836475typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
Return Value
overload 2:
Action.hoverTexture(texture: Texture, u: Number, v: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
Return Value
overload 3:
Action.hoverTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
Return Value
overload 4:
Action.hoverTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer, scale: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
scale accepts
Return Value

Checks if the Action is toggled or not

overload 1:
Action.isToggled(): Boolean
typings.1729365000
Method PropertyFluent DescriptionRepresentation
Return Value

Sets the item of the Action

overload 1:
Action.item(item: ItemStack): Action
typings.-148280555typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value
overload 2:
Action.item(item: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value

Sets the function that is executed when the left mouse button is clicked
The function has one argument
The first argument is this action itself

overload 1:
Action.onLeftClick(leftFunction: (Action) -> AnyType): Action
typings.-1735437428typings.1955883606
Method PropertyFluent DescriptionRepresentation
leftFunction accepts
Return Value

Sets the function that is executed when the right mouse button is clicked
The function has one argument
The first argument is this action itself

overload 1:
Action.onRightClick(rightFunction: (Action) -> AnyType): Action
typings.-1735437428typings.1955883606
Method PropertyFluent DescriptionRepresentation
rightFunction accepts
Return Value

Sets the function that is executed when the mouse is scrolled
The function has two arguments
The first argument is mouse wheel direction
The second argument is this action itself

overload 1:
Action.onScroll(scrollFunction: (Number, Action) -> AnyType): Action
typings.1284027625typings.1955883606
Method PropertyFluent DescriptionRepresentation
scrollFunction accepts
Return Value

Sets the function that is executed when the Action is toggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself

overload 1:
Action.onToggle(leftFunction: (Boolean, Action) -> AnyType): Action
typings.2036855992typings.1955883606
Method PropertyFluent DescriptionRepresentation
leftFunction accepts
Return Value

Sets the function that is executed when the Action is untoggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself

overload 1:
Action.onUntoggle(rightFunction: (Boolean, Action) -> AnyType): Action
typings.2036855992typings.1955883606
Method PropertyFluent DescriptionRepresentation
rightFunction accepts
Return Value

Sets the color of the Action

overload 1:
Action.setColor(color: Vector3): Action
typings.2002444080typings.1955883606
Method PropertyFluent DescriptionRepresentation
color accepts
Return Value
overload 2:
Action.setColor(r: Number, g: Number, b: Number): Action
typings.-1950496919typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
r accepts
g accepts
b accepts
Return Value

Sets the color of the Action when it is being hovered

overload 1:
Action.setHoverColor(color: Vector3): Action
typings.2002444080typings.1955883606
Method PropertyFluent DescriptionRepresentation
color accepts
Return Value
overload 2:
Action.setHoverColor(r: Number, g: Number, b: Number): Action
typings.-1950496919typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
r accepts
g accepts
b accepts
Return Value

Sets the item of the Action when it is being hovered

overload 1:
Action.setHoverItem(item: ItemStack): Action
typings.-148280555typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value
overload 2:
Action.setHoverItem(item: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value

Sets a Custom Texture to render while this Action is being hovered
All values are measured in pixels
Default UV is 0, 0, the default dimensions are the texture dimensions and the default scale of 1

overload 1:
Action.setHoverTexture(texture: Texture): Action
typings.246836475typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
Return Value
overload 2:
Action.setHoverTexture(texture: Texture, u: Number, v: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
Return Value
overload 3:
Action.setHoverTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
Return Value
overload 4:
Action.setHoverTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer, scale: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
scale accepts
Return Value

Sets the item of the Action

overload 1:
Action.setItem(item: ItemStack): Action
typings.-148280555typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value
overload 2:
Action.setItem(item: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value

Sets the function that is executed when the left mouse button is clicked
The function has one argument
The first argument is this action itself

overload 1:
Action.setOnLeftClick(leftFunction: Function): Action
typings.1445582840typings.1955883606
Method PropertyFluent DescriptionRepresentation
leftFunction accepts
Return Value

Sets the function that is executed when the right mouse button is clicked
The function has one argument
The first argument is this action itself

overload 1:
Action.setOnRightClick(rightFunction: Function): Action
typings.1445582840typings.1955883606
Method PropertyFluent DescriptionRepresentation
rightFunction accepts
Return Value

Sets the function that is executed when the mouse is scrolled
The function has two arguments
The first argument is mouse wheel direction
The second argument is this action itself

overload 1:
Action.setOnScroll(scrollFunction: Function): Action
typings.1445582840typings.1955883606
Method PropertyFluent DescriptionRepresentation
scrollFunction accepts
Return Value

Sets the function that is executed when the Action is toggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself

overload 1:
Action.setOnToggle(leftFunction: Function): Action
typings.1445582840typings.1955883606
Method PropertyFluent DescriptionRepresentation
leftFunction accepts
Return Value

Sets the function that is executed when the Action is untoggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself

overload 1:
Action.setOnUntoggle(rightFunction: Function): Action
typings.1445582840typings.1955883606
Method PropertyFluent DescriptionRepresentation
rightFunction accepts
Return Value

Sets a Custom Texture to render in this Action
All values are measured in pixels
Default UV is 0, 0, the default dimensions are the texture dimensions and the default scale of 1

overload 1:
Action.setTexture(texture: Texture): Action
typings.246836475typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
Return Value
overload 2:
Action.setTexture(texture: Texture, u: Number, v: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
Return Value
overload 3:
Action.setTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
Return Value
overload 4:
Action.setTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer, scale: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
scale accepts
Return Value

Sets the title of the Action

overload 1:
Action.setTitle(): Action
typings.1955883606
Method PropertyFluent DescriptionRepresentation
Return Value
overload 2:
Action.setTitle(title: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
title accepts
Return Value

Sets the color of the Action when it is toggled

overload 1:
Action.setToggleColor(color: Vector3): Action
typings.2002444080typings.1955883606
Method PropertyFluent DescriptionRepresentation
color accepts
Return Value
overload 2:
Action.setToggleColor(r: Number, g: Number, b: Number): Action
typings.-1950496919typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
r accepts
g accepts
b accepts
Return Value

Sets the item of the Action when it is toggled

overload 1:
Action.setToggleItem(item: ItemStack): Action
typings.-148280555typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value
overload 2:
Action.setToggleItem(item: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value

Sets a Custom Texture to render in this Action when it is toggled
All values are measured in pixels
Default UV is 0, 0, the default dimensions are the texture dimensions and the default scale of 1

overload 1:
Action.setToggleTexture(texture: Texture): Action
typings.246836475typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
Return Value
overload 2:
Action.setToggleTexture(texture: Texture, u: Number, v: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
Return Value
overload 3:
Action.setToggleTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
Return Value
overload 4:
Action.setToggleTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer, scale: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
scale accepts
Return Value

Sets the title of the Action when it is toggled

overload 1:
Action.setToggleTitle(title: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
title accepts
Return Value

Sets the toggle state of the Action

overload 1:
Action.setToggled(bool: Boolean): Action
typings.1729365000typings.1955883606
Method PropertyFluent DescriptionRepresentation
bool accepts
Return Value

Sets a Custom Texture to render in this Action
All values are measured in pixels
Default UV is 0, 0, the default dimensions are the texture dimensions and the default scale of 1

overload 1:
Action.texture(texture: Texture): Action
typings.246836475typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
Return Value
overload 2:
Action.texture(texture: Texture, u: Number, v: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
Return Value
overload 3:
Action.texture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
Return Value
overload 4:
Action.texture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer, scale: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
scale accepts
Return Value

Sets the title of the Action

overload 1:
Action.title(): Action
typings.1955883606
Method PropertyFluent DescriptionRepresentation
Return Value
overload 2:
Action.title(title: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
title accepts
Return Value

Sets the color of the Action when it is toggled

overload 1:
Action.toggleColor(color: Vector3): Action
typings.2002444080typings.1955883606
Method PropertyFluent DescriptionRepresentation
color accepts
Return Value
overload 2:
Action.toggleColor(r: Number, g: Number, b: Number): Action
typings.-1950496919typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
r accepts
g accepts
b accepts
Return Value

Sets the item of the Action when it is toggled

overload 1:
Action.toggleItem(item: ItemStack): Action
typings.-148280555typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value
overload 2:
Action.toggleItem(item: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
item accepts
Return Value

Sets a Custom Texture to render in this Action when it is toggled
All values are measured in pixels
Default UV is 0, 0, the default dimensions are the texture dimensions and the default scale of 1

overload 1:
Action.toggleTexture(texture: Texture): Action
typings.246836475typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
Return Value
overload 2:
Action.toggleTexture(texture: Texture, u: Number, v: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
Return Value
overload 3:
Action.toggleTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
Return Value
overload 4:
Action.toggleTexture(texture: Texture, u: Number, v: Number, width: Integer, height: Integer, scale: Number): Action
typings.246836475typings.-1950496919typings.-1950496919typings.-672261858typings.-672261858typings.-1950496919typings.1955883606
Method PropertyFluent DescriptionRepresentation
texture accepts
u accepts
v accepts
width accepts
height accepts
scale accepts
Return Value

Sets the title of the Action when it is toggled

overload 1:
Action.toggleTitle(title: String): Action
typings.-1808118735typings.1955883606
Method PropertyFluent DescriptionRepresentation
title accepts
Return Value

Sets the toggle state of the Action

overload 1:
Action.toggled(bool: Boolean): Action
typings.1729365000typings.1955883606
Method PropertyFluent DescriptionRepresentation
bool accepts
Return Value

Function that is executed when the left mouse button is clicked
The function has one argument
The first argument is this action itself

field signature:
Action.leftClick: (Action) -> AnyType
typings.-1735437428
Method PropertyFluent DescriptionRepresentation
Field Type

Function that is executed when the right mouse button is clicked
The function has one argument
The first argument is this action itself

field signature:
Action.rightClick: (Action) -> AnyType
typings.-1735437428
Method PropertyFluent DescriptionRepresentation
Field Type

Function that is executed when the mouse is scrolled
The function has two arguments
The first argument is mouse wheel direction
The second argument is this action itself

field signature:
Action.scroll: (Number, Action) -> AnyType
typings.1284027625
Method PropertyFluent DescriptionRepresentation
Field Type

Function that is executed when the Action is toggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself

field signature:
Action.toggle: (Boolean, Action) -> AnyType
typings.2036855992
Method PropertyFluent DescriptionRepresentation
Field Type

Function that is executed when the Action is untoggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself

field signature:
Action.untoggle: (Boolean, Action) -> AnyType
typings.2036855992
Method PropertyFluent DescriptionRepresentation
Field Type