Components
A component is a logic bundle that increases an object's interactive potential through player actions so you can quickly build custom gameplay with no code.
What is a Component?

A component is a bundle of logic that applies additional interactive characteristics to an object. This allows for player actions to influence objects directly and indirectly through their actions.
Components allow you to quickly build precise interactions between players and objects, with many parameters that can be modified for custom mechanics. No coding experience is needed!
Example:
Climbable can be applied to an object so players can reach an isolated area.
An enemy with a Health component can be defeated. If a Drop component is added to it, upon death it can spawn Collectable loot items.
A Collectable object can play a sound and send a message. If a logic actor placed at the same location has Visual FX activated by the collect message, visual feedback will also appear.
General Uses and Component Types
The component groupings below are how they're often used. However, a Health component simply allows an object to be destroyed and isn't limited to living things. Think outside the box based on what components can do, and you'll be designing cool custom mechanics in no time!
Tip: You can select multiple objects and change the same parameters simultaneously.
Tips: Press CTRL+D to duplicate custom objects or groups of objects. Create Side Bar if you must build with them repeatedly or want to spawn them during live gameplay.
No components applied: The object can be a prop or be interactive if one of the available Behavioursare applied.
Experience Management
Indicator: Quest icons, distance, or small text labels above an object to guide players.
Speaker: Detects tags to send messages, or creates a floating text box above an object.
Toggle: Controls when the object's behaviour is on or off.
Defeat: Ends an Experience immediately if triggered.
Victory: Ends an Experience immediately if triggered.
Plant: Identify an object as a plant for Prey to eat, or destroy object without animation.
Player Engagement
Button: Pressing sends a message to a target for an outcome.
Collectable: Adds an asset to the player's inventory, sends a message, plays a sound.
Drop: Interacting or destroying the object spawns a specified item (loot, etc).
Health: Apply to make an object destructible. Can send a delayed message after "death."
Experience Ambience/Media
Image Display: Display pre-made images on frame assets. (See Create Frame Assets)
NFT Image Display: Display 2D Ethereum NFT images in your wallet on frame assets. (See Create Frame Assets)
NFT Details Display: Opens a popup window with NFT info and marketplace link.
Play Sound: Play pre-made sound effects in a range or globally.
Rarity VFX: A column of light and sparkles coloured by object rarity.
Visual FX: Play a customizable visual effect from hundreds of options.
Light: Point or spot light emitting from the object, with custom colours and transitions.
Adding Components to Objects
With Behaviours, only one can be applied to control an object's actions. Many components can be applied to an object to make it more interactive.

Left click to select an object. This will open the Properties Panel on the right side of the screen.

Beneath Behaviour, click on the Components field where it says Add Component. If components are already applied, they will show beneath this field.

A window named Select Component will pop up with available options. In this example, we’ll choose the Indicator component. The Select Component window will close, and the chosen component will now appear in the Properties Panel along with its default settings.

In our Indicator component example, default logic is automatically added. In play mode you can see the object's name as a label above it and the visibility distance displayed in metres if you are far away. This particular component can be linked to quests and used to label objects in the game with icons or text to help guide players.
Click the Edit Logic button to see the full Behaviour & Component Parameters for any behaviour and components applied to the object. Here you can see how the object will work in your Experience and customise parameters such as Quest cursors, Interactive VFX, etc. You can also scroll to the bottom of the object's properties and change its identity tags so it will be detected specific to your game's mechanics. Test your logic frequently by presssing the TAB key to toggle on and off Play mode.

If you need to go back to the default view of the Properties Panel, click the X next to Logic at the top. None of your settings will be lost.

Last updated
Was this helpful?

