ℹī¸Traits

Spark Traits

Traits are a core component of all Sparks.

Instance Name

The display name of the Spark.

Entity Traits

Is Visible

Sets the visibility of the Spark. If enabled, the Spark is visible; otherwise, it is hidden.

Note: This option is enabled by default.

Use Physics

Enables or disables gravity on a Spark.

Is Collidable

Determines whether or not the Spark can be collided. Disabling this option will prevent the 'Collided' Cause from triggering. Enabling this option will trigger the 'Collided' Cause when a Spark or player collides with this spark.

Note: This option is visible by default but becomes hidden when 'Use Physics' is enabled.

Is Grabbable

This allows a Spark to be grabbed by a User.

Is Interactable

Determines whether or not the Spark can be interacted with. Disabling this option will prevent the Interacted Cause from triggering. Enabling this option will trigger the Interacted Cause when a Spark or player interacts with this spark.

Do Animation

This option determines whether or not the Spark can play animations. Disabling it will prevent the Animation Effect from triggering.

Altitude

The distance of the Spark from the ground. Changes to the Altitude will have no effect if 'Use Physics' is enabled.

Position

The x and y world space coordinates of the Spark.

Rotation

The rotation of the Spark around the x, y, and z axes.

Scale

Used to reduce or enlarge the size of the Spark.

Living Traits

Health

Represents the current health of the character (i.e., human, animal, creature). By default, when a Character Spark is dropped into the Map Editor, the Health Trait equals the Max Health Trait.

Max Health

The maximum health that the creature can reach.

Last updated