Skip to content
Ashley edited this page Jul 16, 2022 · 11 revisions

Creating a Preset Asset

To create a preset asset, either go to AssetsCreateHackboxPreset, or right-click in the assets window, and go to CreateHackboxPreset, and then name the preset appropriately:

image

You can then edit the properties of the preset by selecting it in the assets and viewing the properties in the Inspector:

image

Type

There are several different preset/component types to choose from, each exhibiting different visual behaviour. The types available are:

  • Text, basic text display
  • Text Input, text input
  • Buzzer, simple buzzer button
  • Button, button
  • Choices, set of button options

Specify the type for the preset by editing it in the Inspector. More information about each type is available here.

Parameter List

There are many parameters you can adjust on a preset to give them a specific appearance and behaviour, such as textColor, backgroundColor, text, event, value, etc.

To add parameters to a preset in the Inspector:

  • Select the parameter to add in the dropdown then hit the + button to insert it into the parameter list box

image

  • Edit the parameter properties that appear in the parameter list box

image

Go to the Parameters Reference page to learn more about each parameter and how it controls the appearance or behaviour of the preset/component.

Clone this wiki locally