Using the editor

Hierarchy & Inspector

Creating entities, parenting, adding components and editing values.

Entities

An entity is one "thing" in your scene: a cube, a light, the player camera, a sprite. Unlike in many engines, an entity has no script object behind it. It is just a row of data (position, mesh, material…), and systems process those rows every frame. In practice that means you build behaviour by adding components and listing systems, not by writing classes.

Creating entities

Right-click empty space in the Hierarchy, or right-click in the Scene view:

ItemCreates
Create Emptyan entity with just a transform
Add Mesh ▸Cube, Sphere, Cylinder, Capsule, Wedge or Quad, with a default material
2D Spritea sprite (needs a 2D camera to be seen in Simulation)
Audio Sourcea silent emitter; pick a clip in the Inspector
Light ▸Point Light, or Directional Light (one per scene)
Camerathe player camera (one per scene)
Particle System ▸one of the catalogued effects
UI ▸Canvas (Screen), Canvas (World), then Panel, Button, Text, Image, Toggle, Slider, Scroll View, Dropdown

Right-click an existing entity for Rename (F2), Duplicate (Ctrl+D), Delete (Del) and CSG ▸: combine primitives with Make Subtract / Make Intersect and bake the result with Apply.

Parenting

Drag one Hierarchy row onto another to make it a child; it then moves with its parent. Drag it onto empty space to unparent it. (Parenting works for 3D objects; 2D sprites don't compose parent transforms yet.)

The Inspector

Select an entity and the Inspector shows:

  • a header with an active checkbox and the name;
  • one collapsible section per component: Transform, Velocity, Angular Velocity, Mesh, Material, Light, Camera, Script, Audio Source, Tilemap, Particle System, the UI sections and so on;
  • a ⋮ menu on each section, with Remove Component;
  • the Add Component button at the very bottom. Scroll down if you can't see it.

Values are edited in place. Drag a number field sideways to scrub it, or double-click to type.

The Material section

  • Shader: the material's shader. AlbedoTexture is the standard lit, textured one.
  • Main Maps > Albedo: click the slot to pick a texture, for example one you painted in Pixel Art.
  • Surface > Base Color: multiplies the albedo. With a white texture you get exactly this colour.

The Script section

Every movable mesh has a Script slot that reads (none). Click it and pick a .tgscript file to attach it, or pick (none) to detach it. See Visual scripting.

Add Component

The popup lists what can be attached to this entity, sorted A–Z. What can't be attached is folded into N unavailable; hover a row there to see why. Common entries:

ComponentUse it for
Position / Rotation / Velocity / Angular Velocitytransforms and simple motion
Scriptattach a visual script (when the entity has no slot yet)
Z-Order, Tint2D draw order and colour
2D Cameraturns an entity into an orthographic camera
Tilemapdraws a .tgtilemap at this entity's position
CSG Brushprimitives only: makes it add or cut geometry

Lights, cameras, particle systems, sprites and canvases are not in Add Component. Create them from the right-click menu instead.

The Settings row

Select Settings at the top of the Hierarchy to edit scene-wide options: Graphics, Post-process, Audio, Skybox, Water, Sky (day/night), Fog and Voxel Terrain. Remove a section with its header ✕, or bring one back with + Add setting.