Choose a value the property accepts
0.86.4.0 / Use a native 2D value > p. 29
CHAPTER 04 / TYPES AND VALUES
A property’s type tells you what fits in the box. Brightness needs a number. A border needs a color. The collection tells you which kind of record owns the property.
| Type | Example | How to enter it |
|---|---|---|
| Boolean | false | Use the checkbox when available. In a free-entry value field, use true or false without quotes. |
| Integer | 1 | A whole number. Add Inventory count starts at 1. A fraction makes no sense for an item count. |
| Float | 2.5 | A number that can include a decimal point. Use this for entities / light.intensity. |
| Color | #35c9a4 | Choose a swatch when offered. In a free-entry To field, a quoted hex string such as "#35c9a4" names the color. |
| Vector3 | [2, 0, -1] | Three numbers in X, Y, Z order, for example for entities / transform.position. |
| Record ID | roof | Choose the matching record from the picker. The display name may contain spaces while the ID is a short stable key. |
This GUI border entry says “Value type: color”. It also tells you which access, update and persistence rules go with that type.
A value supplied by a variable
Where offered, click Use a variable for… , choose the variable and confirm with Use variable. Choose a fixed record switches back. PCA can check a fixed ID in the editor. The Runner also checks the value a variable actually produces during play.
0.86.4.3 / Change a shot or wall at runtime > Page 38
