Reference

Component reference

Every component line you can write in a scene file, with its values.

Shared and 3D

LineValuesNotes
-Position:x,y,zmetresor a single value for all three
-Rotation:x,y,zdegreesZXY order, left-handed
-Scale:x,y,zfactoror one value
-Velocity:x,y,zm/sneeds MoveByVelocity
-AngularVelocity:x,y,zper secondneeds RotateByAngularVelocity
-Primitive:Type[,size | sx,sy,sz[,segments[,rings]]]Cube, Sphere, Cylinder, Capsule, Wedge, Quadgenerated mesh
-Mesh:<uuid>imported mesh
-Material:<shader>,<texture>[,r,g,b[,a]]UUIDs, tint 0–1EAF81A2663BA92E = standard lit shader
-MaterialMaps:normal,metalRough,ao,emissiveUUIDs or 0PBR maps
-MaterialProps:x,y,z,w[,…]shader-graph parameters
-PerspectiveCamera:fovDeg[,near,far]with PlayerTag = the player camera
-Rotation2D:pitch,yawdegreesthe player camera's look direction
-Color:r,g,b0–1clear colour of a camera
-DirectionalLight:dx,dy,dzdirectionone per scene
-LightColor:r,g,bor one value
-PointLight:radius[,intensity]
-Animator:clip[,speed[,loop]]skinned meshes
-ParticleSystem:<uuid>[,rate,capacity,seed]
-AudioSource:<clip>,gain,attMin,attMax[,loop]needs AudioSystem
-ReverbZone:radius[,rt60,wet,predelayMs]
-Parent:<EntityName>3D hierarchy
-CsgBrush:add|subtract|intersect[,order]primitives only
-Script:Assets/Scripts/X.tgscriptpathneeds ScriptRun
-LOD:far or -LOD:near,farmetres

2D

LineValuesNotes
-Position2D:x,yworld units
-Velocity2D:x,yunits/sadds MoveByVelocity2D
-Scale2D:x,yfactornegative flips
-Angle2D:degdegrees
-ZOrder:n−32767…32767higher on top
-Tint:r,g,b[,a]0–1
-Sprite:<textureUuid>flipbook if the texture's .mt has atlas:
-Rig:<uuid>cutout rig
-Tilemap:<uuid>position = bottom-left
-Camera2D:orthoHeightworld units shown vertically
-Collider2D:box,hw,hh[,ox,oy,material][,sensor] / circle,r[,…]category=0x.., mask=0x.. optional
-PhysicsBody2D:mass,linDamp,angDamp[,flags,angVel,gravityScale]flags: kinematic, fixedrotation, ccd, nosleep, reportscollisions
-PhysicsMaterialOverride2D:friction,restitution,density
-Joint2D:distance|rope|spring,<partner>,rest[,stiff,damp][,break]

Tags (no value)

TagMeans
-PlayerTagthis is the player
-PlayerInputTagthe player is driven by input (FreeLookCamera)
-Staticnever moves (cheaper to render)
-Inactivedisabled
-Occluderhides what's behind it from rendering
-CutoutMaterial · -BlendMaterial · -EmissiveMaterialmaterial render modes

Components declared by the engine but not listed here can still be written as -ShortName:field1,field2,…. The loader fills them field by field.