Public properties
Read and update declared script properties.
Feature status and language/platform compatibility
Choose an API to see its signature, parameters, examples and behavior.
APIs
Module guide
When to call it
Use properties for designer-configurable values such as speed, health, and damage. Read at setup or when needed; write only when gameplay changes the value.
Variables
| Variable | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Exact declared property name. |
value | EngineValue | Yes | Value matching the property's existing type. |
Return and timing
Get returns the stored value. Set cannot create a missing property. Its write timing follows the runtime execution rules.
Constraints and behavior
- Unknown names and type changes are rejected. Boundary values are booleans, integers, finite numbers, strings, vectors, and optional entity IDs.
- Every gameplay language calls the engine-owned API. Rustic supplies SDKs and dispatches callbacks; scripts do not parse requests or serialize responses. See the language guide for complete setup and callback registration.