Skip to content

Action

The Action component is a button that changes one or more variables when the player clicks it. For example, you can use it to let the player spend skill points to increase an attribute.

Selection frame

Select the action button in the preview to show its selection frame.

Action button selection frame

Resize handles

Drag the handles to adjust the width or height of the button.

Rotation icon

Rotates the button.

Trash icon

Deletes the action button.

Action section

When the button is selected, its settings appear in the Action section of the right panel.

Action section with button settings and tables for variable changes and conditions

Font color

Choose the color of the action button.

Up

Turn this option on to show +. Turn it off to show −. The modifier table defines the calculation performed when the player clicks the button.

Modifier

The button applies the rules in this table when the player clicks it. In each row, choose the variable to change, then set the value to assign to it after the = sign. You can use the value of a variable and choose an operation to combine it with a second value. Add multiple rows to change multiple variables with the same button.

The table works the same way as the variable modifier in the Action block.

Condition

Add a condition to define when the player can use the button. With no condition, the button stays enabled. If the condition is met, the button is enabled. Otherwise, it is grayed out and the player cannot click it.

For example, you can enable the button only if the player has at least one skill point to spend.

Position

Sets the display order of the button when elements overlap. The default value is zero. Increase it to display the button in front of elements with a lower position value.