هذه الصفحة لم تُترجم بعد، لذا تظهر بالإنجليزية.

Component reference

Every component the editor offers in Add Component: 120 in all. Each field shows its type, its range where it has one, and its default. Generated from the engine's own schemas, so it always matches the version you download.

Transform

Active Brush FollowSpline Scale Spin Spline Transform3D

Active

Whether the entity participates in simulation and rendering

FieldTypeRangeDefaultWhat it does
enabledbooleantrueOff: the object and everything inside it is left out of the scene.

Brush

Level geometry block (Unreal BSP): Box, Cylinder or Wedge that adds solid space or cuts it away; the object's scale is its size; Tools > Build Brushes makes the mesh

FieldTypeRangeDefaultWhat it does
shapestring"Box"Box | Cylinder | Wedge
modestring"Add"Add | Subtract (adds solid space, or cuts it out of what earlier brushes made)
colorlist of number[0.62, 0.64, 0.68]The colour of its faces (a cut colours the walls it leaves)

FollowSpline

Moves the object along the Spline named spline at speed m/s: Loop, PingPong or Once

FieldTypeRangeDefaultWhat it does
splinestring""The name of the object with the Spline
speednumber0 to 5003.0Metres per second along the path
modestring"Loop"Loop | PingPong | Once (round again, back and forth, or stop at the end)
facebooleantrueTurns to face the way it goes
distancenumber0.0How far along the path it is, in metres (set by the game)

Scale

Local 2D scale relative to the parent

FieldTypeRangeDefaultWhat it does
scalelist of number[1.0, 1.0]How much bigger or smaller, across and down.

Spin

Rotates the object continuously while playing (degrees per second per axis)

FieldTypeRangeDefaultWhat it does
degrees_per_secondlist of number[0.0, 90.0, 0.0]How fast it turns.

Spline

A smooth path through points (local to the object): roads, rails, patrol routes; FollowSpline moves things along it

FieldTypeRangeDefaultWhat it does
pointslist of array[[0.0, 0.0, 0.0], [4.0, 0.0, 0.0], [8...The points it passes through, in order, local to the object
closedbooleanfalseJoins the last point back to the first (a loop)

Transform3D

3D position, Euler rotation (degrees, ZXY order) and scale

FieldTypeRangeDefaultWhat it does
positionlist of number[0.0, 0.0, 0.0]Where it is in the scene (metres).
rotationlist of number[0.0, 0.0, 0.0]How far it is turned about each axis, in degrees.
scalelist of number[1.0, 1.0, 1.0]How much larger it is along each axis; 1 is normal.

Rendering

Decal MaterialOverride MeshRenderer ParticleSystem SpriteRenderer SpriteSheet Tilemap VideoPlayer

Decal

Projects a picture along the object's -Y onto the surfaces inside its box, lit like what it lands on

FieldTypeRangeDefaultWhat it does
texturestring""Project-relative path of the picture (png/jpg), whose alpha decides where it shows; empty paints the plain colour
colorlist of number[1.0, 1.0, 1.0]Colour multiplied with the picture
opacitynumber0 to 11.0How strongly it shows
sizelist of number[2.0, 1.0, 2.0]The box it covers, in metres, centred on the object: x and z are the picture's width and height, y how far it reaches
max_anglenumber0 to 8960.0Surfaces turned further than this from facing the decal are left out, in degrees
draw_distancenumber0 to 10000.0How far from the camera it can be seen, in metres (0: from anywhere)
normal_mapstring""Project-relative path of a normal map (OpenGL style, green up) for the decal's bumps: cracks, dents and holes catch the light where the picture shows. Opacity 0 leaves only the bumps

MaterialOverride

Material override: this object's own tint, glow and fade over its shared material

FieldTypeRangeDefaultWhat it does
tintlist of number[1.0, 1.0, 1.0]Multiplies the material's colour for this object alone
glowlist of number[0.0, 0.0, 0.0]Light this object gives off, added to the material's own glow
fadenumber0 to 11.0Multiplies the material's opacity: 1 as the material says, 0 invisible
metallicnumber-1 to 10.0Added to the material's metallic number for this object alone: 1 turns it to metal, -1 takes the metal out
roughnessnumber-1 to 10.0Rougher (above 0) or glossier (below 0) than the material says, for this object alone
texturestring""A picture (a path in the project, such as Textures/wall.png) shown on this object in place of the material's own colour map; empty keeps the material's

MeshRenderer

Primitive mesh name and material asset path

FieldTypeRangeDefaultWhat it does
meshstring"Cube"The shape drawn: a built-in one or a model file.
materialstring""The material (how the surface looks) put on it.
model_yawnumber0.0Models only: turns the model this many degrees about its own vertical axis when it is drawn, without changing the object's rotation or physics. 180 for a model that faces +Z (it would otherwise walk backwards: objects face -Z at yaw 0). place_model sets it from the model's feet
lightmappedbooleanfalseFor objects that never move: Window > Bake Lightmaps works out the light reaching it from the sky and off the other lightmapped objects (soft shadows where they meet, colour from the walls around) and it is drawn with that light instead of the plain ambient light
swaynumber0 to 100.0Metres its top moves in a strong Wind: 0.3 for a tree, 0.1 for a bush
charrednumber0 to 10.0How burnt it looks: 0 as it is, 1 black
rimlist of number[0.0, 0.0, 0.0]An edge glow in this colour where it turns away from the camera: a figure stands out against the night with it (black: none)

ParticleSystem

Particle system: emission rate, lifetime, speed, cone spread, size and colour over life, gravity, cap, looping

FieldTypeRangeDefaultWhat it does
ratenumber30.0How many particles are made each second.
lifetimenumber2.0How long a particle lives, in seconds.
speednumber3.0How fast a particle leaves.
spreadnumber25.0How wide the cone they leave in is, in degrees.
sizenumber0.25How big a particle starts.
size_endnumber0.05How big a particle is when it dies.
colorlist of number[1.0, 0.75, 0.3]The colour a particle starts with.
color_endlist of number[0.9, 0.2, 0.05]The colour a particle fades to.
gravitynumber1.0How strongly particles fall; negative rises.
max_particlesinteger400The most particles alive at once.
loopingbooleantrueKeep making particles.
alphanumber0 to 11.0How solid a particle starts: 1 is solid.
alpha_endnumber0 to 10.0How solid a particle ends: 0 fades out.
additivebooleantrueAdd the light of overlapping particles together (fire, sparks).
arealist of number[0.0, 0.0, 0.0]Emission box half extents (x, y, z): particles start anywhere inside it; 0 = a point
stretchnumber0 to 10.0Streak length in seconds of the particle's motion (0 = a dot): rain
gpubooleanfalseWorked out on the graphics card: up to 200,000 particles that move with the object
effectstring""A .vfx effect file whose modules set the fields above instead (empty: the fields as they are)

SpriteRenderer

Sprite: draws a picture from the project (texture path), tinted, optionally flipped; size = pixels / pixels_per_unit

FieldTypeRangeDefaultWhat it does
texturestring""Project-relative path of the picture (png/jpg); empty shows a tinted square
colorlist of number[1.0, 1.0, 1.0]Tint multiplied with the picture (white keeps its own colours)
flip_xbooleanfalseMirror left to right
flip_ybooleanfalseMirror top to bottom
pixels_per_unitnumber1 to 102416.0How many picture pixels make one world unit
billboardbooleanfalseIn 3D, turn to face the camera around the vertical axis

SpriteSheet

Sprite sheet: cuts the sprite's picture into columns x rows frames; shows frame, and flips through them at fps while the game plays

FieldTypeRangeDefaultWhat it does
columnsinteger1 to 2564Frames across the picture
rowsinteger1 to 2561Frames down the picture
frameinteger0The frame shown (0 is the top left; a flipbook keeps this moving)
fpsnumber0 to 1208.0Frames a second while it plays
playingbooleantrueFlip through the frames while the game plays
loopingbooleantrueStart over after the last frame (off: stop on it)
firstinteger0The first frame of the flipbook
countinteger0How many frames the flipbook uses from first (0: to the end of the sheet)
timenumber0.0Seconds into the flipbook (kept by the game)
pivot_xnumber0 to 10.5Pivot across a frame (0 left, 1 right): the point at the object's position
pivot_ynumber0 to 10.5Pivot down a frame (0 top, 1 bottom)
clipsstring""Named runs of frames, name=first-last or name=first-last@fps, one after another with ; between (idle=0-3;run=4-9@12). A script picks one by setting clip
clipstring""The named run now playing (empty: the first/count run above). Changing it starts that run from its first frame
startedstring""The run time belongs to (kept by the game)

Tilemap

2D tilemap: tileset image, tile size in pixels, world size of a cell, grid size, painted tiles, solid in Play

FieldTypeRangeDefaultWhat it does
tilesetstring"builtin:tiles"The picture the tiles are cut from.
tile_pxinteger1 to 102416Tile size in the tileset image, pixels
cellnumber0.01 to 1.79769e+3081.0World size of one cell
widthinteger1 to 51224How many tiles across.
heightinteger1 to 51212How many tiles down.
tilesstring""Which tile is in each square (edited with the tile brush).
solidbooleantruePainted tiles are colliders in Play

VideoPlayer

Video player: plays an .mp4 (H.264); the picture is the texture render:<target>, shown on this object when on_object is on

FieldTypeRangeDefaultWhat it does
clipstring""The video file (project path, .mp4 with H.264 and AAC sound)
play_on_awakebooleantrueStart playing when the game starts
loopingbooleanfalseStart over when it ends
speednumber0 to 41.0How fast it plays: 1 as recorded
volumenumber0 to 11.0Volume of the sound track
on_objectbooleantrueShow the picture on this object's own material (its albedo map)
targetstring""The texture's name: render:<target>; empty uses the object's name
playingbooleanfalsePlaying right now (a script sets it to pause and play)
timenumber0.0Seconds into the video (kept by the game; a script sets it to jump)

Lighting & Camera

AreaLight Camera CameraFollow DirectionalLight Light2D PointLight ReflectionProbe SpotLight VirtualCamera VrCamera

AreaLight

Area light: a flat rectangular panel that shines from its front face, the way it faces (-Z at no rotation; rotate it to aim). width and height are its size in metres: a window, a soft box, a strip light or a screen. It lights surfaces by the area it covers (a big panel lights wide and soft) and gives a long, rectangular highlight on shiny surfaces. range is how far past the panel the light reaches; it casts no shadow

FieldTypeRangeDefaultWhat it does
colorlist of number[1.0, 0.97, 0.9]Linear colour of the light
intensitynumber0 to 10004.0Brightness of the panel's surface
widthnumber0.05 to 1002.0Width of the panel in metres (along the object's right)
heightnumber0.05 to 1001.0Height of the panel in metres (along the object's up)
rangenumber0.1 to 50020.0How far the light reaches past the panel, in metres

Camera

A camera: vertical field of view (degrees), near and far planes. The first one with the default (whole-screen) viewport is the one the game is seen through; a camera with a smaller viewport draws into that part of the screen over it (a minimap, a mirror, a portrait)

FieldTypeRangeDefaultWhat it does
fovnumber60.0How wide the camera sees, as the angle from top to bottom in degrees.
nearnumber0.1The nearest distance it sees (metres): anything closer is cut away. 0.1 is usual; a larger value (0.5) gives far away things steadier depth when the camera never goes close to anything
farnumber200.0How far its view reaches, in metres, for shadows and the effects that read depth (fog, ambient occlusion, depth of field). Once it is changed from the default 200, meshes lying wholly past it are not drawn (the default keeps drawing everything the camera sees); terrain, the sky and effects are not cut
ortho_sizenumber0 to 1.79769e+3080.0Above 0 the camera is orthographic (no perspective) and sees this many world units from the middle to the top edge: the top-down camera of a minimap
viewportlist of number[0.0, 0.0, 1.0, 1.0]Where on the screen it draws: x, y, width, height as fractions of the game view, from the top left. The default fills the screen and makes it the main camera; anything smaller makes it an extra view
backgroundlist of number[0.05, 0.06, 0.09]Extra views only: the colour the view's rectangle is filled with before it draws (so it does not show the main view through it)
ui_targetstring""Extra views only: the name of a UI object (a panel or picture in the HUD). The view then fills that object's rectangle on screen, following its layout and hidden with it, instead of using viewport: a portrait, a mirror or a minimap inside a HUD frame
render_targetstring""Draw into a picture instead of the screen: the picture is named render: plus this name, and works anywhere a texture path does (a UI image's image, a material's texture). A mirror, a security monitor, a portrait
render_sizelist of number[256.0, 256.0]Width and height in pixels of the render_target picture (16 to 2048)
focal_lengthnumber0 to 4000.0A physical camera: the lens's focal length in millimetres. Above 0 it sets the field of view together with sensor_height (and fov is not used): 50 is a normal lens, 24 wide, 200 long
sensor_heightnumber1 to 10024.0A physical camera: the height of the sensor in millimetres (24 is a full-frame photo camera), used when focal_length is above 0
rollnumber-180 to 1800.0Tilts the picture about the line of sight, in degrees (a roll: a dutch angle, a plane banking)
clearstring"SolidColor"SolidColor | Nothing: extra views only: SolidColor fills the view's rectangle with background before it draws; Nothing draws over what is already there (a floating object)
depthnumber-100 to 1000.0Extra views draw from the lowest depth to the highest, so a higher one covers a lower

CameraFollow

Camera follow: the target object's name, the offset from it, the look height above it and how fast the camera catches up

FieldTypeRangeDefaultWhat it does
targetstring""The object the camera follows, by name.
offsetlist of number[0.0, 3.0, 6.0]Where the camera sits, relative to the target.
look_heightnumber1.2How high above the target's position the camera looks.
smoothingnumber6.0How softly the camera catches up; 0 is stuck to the target.
enabledbooleantrueOff = the camera is left alone (a script or cinematic is placing it). Scripts: Camera.Focus pauses it for you

DirectionalLight

Directional sun: colour, intensity, pitch above the horizon and yaw (degrees)

FieldTypeRangeDefaultWhat it does
colorlist of number[1.0, 1.0, 1.0]The colour of the light.
intensitynumber0.9How bright the light is.
pitchnumber50.0How far the light points down, in degrees.
yawnumber30.0Which way round the light points, in degrees.
contact_shadownumber0 to 40.0Contact shadows: how far (metres) each point looks toward the sun for the small shadows where things touch, which shadow maps lose (0 = off)
shadow_distancenumber0 to 50000.0How far from the camera shadows reach, in metres: 0 for the usual 80. A wide open scene needs more, and the shadows close by get a little softer

Light2D

2D point light: colour, intensity, radius and edge falloff

FieldTypeRangeDefaultWhat it does
colorlist of number[1.0, 0.92, 0.8]The colour of the light.
intensitynumber0 to 1.79769e+3081.0How bright the light is.
radiusnumber0.01 to 1.79769e+3088.0How far the light reaches.
falloffnumber0.1 to 82.0How fast the light fades toward its edge.

PointLight

Point light: linear colour, intensity and range; shadows makes it cast shadows

FieldTypeRangeDefaultWhat it does
colorlist of number[1.0, 1.0, 1.0]The colour of the light.
intensitynumber1.4How bright the light is.
rangenumber40.0How far the light reaches.
shadowsbooleanfalseCasts shadows in every direction (the two shadowed point lights nearest the camera do; each costs six depth views a frame)
sizenumber0 to 200.0Size of the light's source in metres: 0 is a point; a window, a lamp panel or a tube is larger (an area light), and its highlights come out wider and softer, its light wrapping a little round the surfaces it reaches

ReflectionProbe

Light and reflection probe: points inside its box get the sky they can see, bounced light and local reflections

FieldTypeRangeDefaultWhat it does
sizelist of number[10.0, 4.0, 10.0]The box it covers, in metres, centred on the object
intensitynumber1.0Strength of its bounced light and reflections (1 = as captured)

SpotLight

Spot light: a cone of light from this object along its forward direction (the way it faces; rotate it to aim). angle is the whole width of the cone in degrees, its edge fades out softly; range is how far it reaches. Torches, car headlights, stage lights, flashlights: put it on an object and turn the object to point it

FieldTypeRangeDefaultWhat it does
colorlist of number[1.0, 0.95, 0.85]Linear colour of the light
intensitynumber0 to 10004.0Brightness
rangenumber0.1 to 50030.0How far it reaches, in metres
anglenumber2 to 17050.0Width of the whole cone, in degrees
shadowsbooleanfalseCasts shadows: what stands in the cone darkens what is behind it (the four shadowed spot lights nearest the camera do)
sizenumber0 to 200.0Size of the light's source in metres: 0 is a point; a lamp panel or a soft box is larger, and its highlights come out wider and softer

VirtualCamera

Virtual camera: while the game plays, the active one with the highest priority is what the screen shows; the view eases to it over blend seconds

FieldTypeRangeDefaultWhat it does
priorityinteger10The highest priority wins (ties: the one made first)
fovnumber1 to 17060.0Vertical field of view in degrees; 0 keeps the scene camera's
look_atstring""An object (by name) this camera always looks at; blank: it looks the way its own rotation points
blendnumber0 to 301.0Seconds the view takes to ease to this camera when it becomes the winner (0: a cut)
enabledbooleantrueOff = this camera is never chosen

VrCamera

VR camera: put on the main camera; while the game plays the view is drawn once per eye, side by side, for a phone in a VR headset, and turns as the head turns

FieldTypeRangeDefaultWhat it does
eye_distancenumber0 to 0.20.064Metres between the eyes (most people: 0.058 to 0.07)
head_trackingbooleantrueThe phone's motion sensors turn the view as the head turns (in the editor: hold the right mouse button and move)
in_editorbooleantruePlay in the editor shows both eyes too (off: the editor shows one picture, phones still show two)
enabledbooleantrueOff = one picture, as without this component

Physics

BoxCollider BoxCollider3D CapsuleCollider2D CapsuleCollider3D CharacterController CircleCollider Joint2D Joint3D MeshCollider3D PhysicsMaterial3D PolygonCollider2D RigidBody SphereCollider3D Trigger3D

BoxCollider

Axis-aligned box collider (2D, half-extents)

FieldTypeRangeDefaultWhat it does
half_extentslist of number[0.5, 0.5]Half the width and height of the box that other 2D objects bump into.

BoxCollider3D

3D box collider: half extents in object space (scaled by the object's scale)

FieldTypeRangeDefaultWhat it does
half_extentslist of number0 to 1.79769e+308[0.5, 0.5, 0.5]Half size on each axis, in object-space units
centerlist of number[0.0, 0.0, 0.0]Where the box sits relative to the object's origin (object-space units)

CapsuleCollider2D

Capsule collider (2D): an upright shape with round ends (characters); height is end to end

FieldTypeRangeDefaultWhat it does
radiusnumber0.001 to 1.79769e+3080.5Radius of the round ends, in world units
heightnumber0.001 to 1.79769e+3082.0Height from the bottom of one end to the top of the other, in world units

CapsuleCollider3D

3D capsule collider (upright, along Y): radius and total height in object units

FieldTypeRangeDefaultWhat it does
radiusnumber0.001 to 1.79769e+3080.4Radius of the caps and the body
heightnumber0.002 to 1.79769e+3081.8Total height, caps included (at least twice the radius)
centerlist of number[0.0, 0.0, 0.0]Where the capsule sits relative to the object's origin (object-space units)

CharacterController

Character controller: a capsule that walks, jumps and slides along geometry while playing

FieldTypeRangeDefaultWhat it does
speednumber0 to 1.79769e+3085.0Walk speed, units per second
jump_speednumber0 to 1.79769e+3087.0Upward speed of a jump, units per second
gravitynumber0 to 1.79769e+30820.0Downward acceleration, units per second squared
radiusnumber0.05 to 1.79769e+3080.4Capsule radius
heightnumber0.1 to 1.79769e+3081.8Capsule height (from the feet up when origin_at_feet, else centred on the object)
origin_at_feetbooleantrueThe object's position is where its feet stand, and a model is drawn from its feet (new characters). Off = the position is the middle of the capsule, which is what older scenes use: a model with a locomotion Animator is then drawn half the height lower
step_heightnumber0 to 1.79769e+3080.3Steps up to this tall are walked over (0 = none)
max_slopenumber0 to 8950.0Slopes steeper than this degrees cannot be climbed
use_inputbooleantrueMove with the Horizontal / Vertical / Jump input actions
face_movementbooleantrueTurn to face the way it walks
camera_relativebooleantrueInput moves it the way the camera looks: forward is away from the camera, left and right are the camera's. Off = world axes (forward is -Z). New characters have it on; it needs a Camera in the scene
face_camerabooleanfalseAlways faces the way the camera looks, and side-steps instead of turning: a shooter
max_fall_speednumber0 to 2000.0It never falls faster than this, in metres per second (0 = no limit): a parachute
elsewherebooleanfalseSomeone on another machine moves it (set by the game)
move_inputlist of number[0.0, 0.0]Scripted walk direction (x, z), added to the input
jumpbooleanfalseJump at the next chance (cleared when used)
groundedbooleanfalseRuntime: standing on something
vertical_speednumber0.0Runtime: vertical speed

CircleCollider

Circle collider (2D): radius in world units

FieldTypeRangeDefaultWhat it does
radiusnumber0.001 to 1.79769e+3083.0Radius in world units

Joint2D

2D joint: ties this 2D body to connected (an object's name; empty = the world). kind Hinge, Fixed, Slider, Spring or Rope

FieldTypeRangeDefaultWhat it does
kindstring"Hinge"Hinge | Fixed | Slider | Spring | Rope
connectedstring""The object it is joined to ("" = the world)
anchorlist of number[0.0, 0.0]The joint's point, in this object's own frame (units from its centre)
axislist of number[1.0, 0.0]Slider: the way it slides (this object's frame)
minnumber0.0Hinge degrees / slider units: the lower limit (min = max = 0: free)
maxnumber0.0Hinge degrees / slider units: the upper limit
stiffnessnumber0 to 10000060.0Spring: how hard it pulls back
dampingnumber0 to 100002.0Spring: how quickly the bouncing dies down
motor_speednumber0.0Hinge (degrees per second) or slider (units per second) motor; 0 = none
motor_forcenumber0 to 10000050.0How strong the motor is
collide_connectedbooleanfalseThe two joined objects still collide with each other

Joint3D

Joint: ties this RigidBody to connected (an object's name; empty = the world). kind Hinge, Fixed, Ball, Slider, Spring or Rope (guide page: Physics)

FieldTypeRangeDefaultWhat it does
kindstring"Hinge"Hinge | Fixed | Ball | Slider | Spring | Rope
connectedstring""The object it is joined to ("" = the world)
anchorlist of number[0.0, 0.0, 0.0]The joint's point, in this object's own frame (metres from its centre)
axislist of number[0.0, 1.0, 0.0]Hinge: the axis it turns about; slider: the way it slides (this object's frame)
minnumber0.0Hinge degrees / slider metres: the lower limit (min = max = 0: free)
maxnumber0.0Hinge degrees / slider metres: the upper limit
stiffnessnumber0 to 10000060.0Spring: how hard it pulls back
dampingnumber0 to 100002.0Spring: how quickly the bouncing dies down
motor_speednumber0.0Hinge (degrees per second) or slider (metres per second) motor; 0 = none
motor_forcenumber0 to 10000050.0How strong the motor is
collide_connectedbooleanfalseThe two joined objects still collide with each other

MeshCollider3D

Mesh collider (3D): collides on the object's mesh (convex hull, or exact triangles when not convex)

FieldTypeRangeDefaultWhat it does
convexbooleantrueConvex hull (usable on moving bodies) instead of the exact triangles (static only)

PhysicsMaterial3D

Physics material (3D): friction and bounciness of this object's colliders

FieldTypeRangeDefaultWhat it does
frictionnumber0 to 50.5Friction: 0 is ice, 1 is rubber on concrete
bouncinessnumber0 to 10.0Bounciness: 0 stops dead, 1 keeps all its speed

PolygonCollider2D

Polygon collider (2D): the convex shape around points ("x,y; x,y; x,y" in the object's own units)

FieldTypeRangeDefaultWhat it does
pointsstring"-0.5,-0.5; 0.5,-0.5; 0,0.5"The corners, "x,y; x,y; ..." from the object's centre; a shape that bends inwards is wrapped round

RigidBody

Rigid body kind mirrored onto the physics backend each tick

No fields: having it is what counts.

SphereCollider3D

3D sphere collider: radius in object units (scaled by the object's scale)

FieldTypeRangeDefaultWhat it does
radiusnumber0.001 to 1.79769e+3080.5Radius in object-space units
centerlist of number[0.0, 0.0, 0.0]Where the sphere sits relative to the object's origin (object-space units)

Trigger3D

Trigger zone (3D): colliders detect overlaps (OnTriggerEnter/Exit) but do not block

FieldTypeRangeDefaultWhat it does
enabledbooleantrueTurn the zone off without removing the component

Animation

AnimationEvents AnimationLayers Animator HeadLook IkTarget ModelAnimator SkeletonAnimator2D Timeline

AnimationEvents

Clip events: when the playing clip passes a listed moment, scripts get OnAnimEvent(string name). events: Clip@seconds=Name; Clip@seconds=Name

FieldTypeRangeDefaultWhat it does
eventsstring"Walk@0.25=Footstep; Walk@0.75=Footstep"Clip@seconds=Name; Clip@seconds=Name; ...

AnimationLayers

Animation layers over the model's main animation: layers: Clip@Bone*weight; +Clip@Bone*weight (the clip plays on Bone and everything below it, or the whole body without @Bone; weight 0 to 1, default 1; a leading + adds its motion instead of replacing)

FieldTypeRangeDefaultWhat it does
layersstring"Wave@Spine*1"Clip@Bone*weight; +Clip@Bone*weight; ...

Animator

Animation clip asset path, play-on-start flag, speed multiplier, and an optional state machine (.controller) that picks the clip

FieldTypeRangeDefaultWhat it does
clipstring""The animation clip to play.
playingbooleantrueWhether the clip is playing.
speednumber1.0How fast the clip plays: 1 is normal, 2 twice as fast.
controllerstring""The animator controller (states and the ways between them) that drives this object.

HeadLook

Turns a bone (the head) of this object's model toward another object, over its animation

FieldTypeRangeDefaultWhat it does
targetstring""The object to look at (by name)
bonestring""The node that turns (empty: the head)
weightnumber1.0How much of the turn shows over the animation, 0 to 1
max_anglenumber70.0The furthest it turns from where the animation points it, in degrees

IkTarget

Pulls a character's hand or foot (bone) to this object: two-bone IK over its animation

FieldTypeRangeDefaultWhat it does
characterstring""The character's object by name (empty: the one it hangs under)
bonestring"hand.R"The node of its model that reaches here: a hand or a foot (hand.R, mixamorig:LeftHand)
weightnumber1.0How much of the reach shows over the animation, 0 to 1
hintstring""An object the elbow or knee bends toward (empty: the way the animation bends it)
bendlist of number[0.0, 0.0, 0.0]The way the elbow or knee points, on this object's own axes, in place of a hint (0 0 0: not given)
alonglist of number[0.0, 0.0, 0.0]A hand: the way its fingers point, on this object's own axes (0 0 0: as the arm carries it)
palmlist of number[0.0, 0.0, 0.0]A hand: the way its palm faces, on this object's own axes
curlnumber0 to 900.0A hand: how far its fingers close, in degrees at each joint

ModelAnimator

Model animation: which glTF animation of the mesh plays (empty = the first), playing, speed, looping, root motion

FieldTypeRangeDefaultWhat it does
animationstring""The model's clip to play.
playingbooleantrueWhether the clip is playing.
speednumber1.0How fast the clip plays: 1 is normal.
loopingbooleantrueStart the clip again when it ends.
root_motionbooleanfalseLet the clip's own movement move the object.
locomotionbooleanfalsePick idle, walk or run from how fast the object moves.
idle_animationstring"Idle"The clip for standing still.
move_animationstring"Walk"The clip for walking.
walk_speednumber1.4The speed at which the walk clip looks right.
jump_animationstring""The clip for being in the air.
run_animationstring""The clip for running.
run_speednumber3.5The speed from which the run clip plays.
actionstring""A clip to play once on top (an attack, a wave).
action_noncenumber0.0Changes each time the action is asked for again.
action_maskstring""The bones the action moves; empty is all of them.
clips_fromstring""A model to borrow clips from.
turnnumber0.0Degrees the chest is turned to the right of the hips, the head staying where it looks (set by the game)
standnumber0.0How much of the way a bent back is stood up, 0 to 1, the head looking on as it did (set by the game)
action_holdsbooleanfalseKeep the last pose of the action until another comes.
movesstring""Whether the object is moving now.

SkeletonAnimator2D

2D skeletal animation: a skeleton asset (bones, parts, clips) and the clip to play

FieldTypeRangeDefaultWhat it does
skeletonstring""Project path of the .skel2d.json skeleton
animationstring""Clip name (empty = the first)
playingbooleantrueWhether the animation is playing.
speednumber0 to 1.79769e+3081.0Playback speed multiplier
loopingbooleantrueStart the animation again when it ends.
flip_xbooleanfalseMirror left to right

Timeline

Plays a .timeline cutscene (camera shots, animations, on/off, sounds, moves, events)

FieldTypeRangeDefaultWhat it does
assetstring""The .timeline file
play_on_startbooleantrueStart when the game starts
loopingbooleanfalseStart again when it ends

Audio

AudioSource

AudioSource

Audio source: clip asset path, volume, looping and play-on-awake flags

FieldTypeRangeDefaultWhat it does
clipstring""The sound file to play.
volumenumber0 to 11.0Linear volume 0..1
loopingbooleanfalseStart the sound again when it ends.
play_on_awakebooleantrueStart the sound as soon as the game starts.
busstring"SFX"Mixer bus it plays on (Project Settings > Audio)
spatialbooleanfalseQuieter and panned with distance from the listener (the Scene camera)
radiusnumber0.1 to 1.79769e+30840.0Spatial sources are silent at this distance
pitchnumber0.1 to 41.0How fast it plays: 1 as recorded, 2 an octave up
mutebooleanfalseSilences it without losing its place: it keeps playing, you just do not hear it
pannumber-1 to 10.0Which ear it favours when it is not spatial: -1 all left, 0 the middle, 1 all right
min_distancenumber0 to 5001.0Spatial sources: full volume inside this distance (metres); they fade from here to radius
rolloffstring"Linear"Linear | Logarithmic: how a spatial source fades with distance between min_distance and radius (Logarithmic stays loud closer in and drops off faster, as real sound does)
start_delaynumber0 to 600.0Seconds to wait before it starts, after it is told to play (or the scene starts)
fade_innumber0 to 600.0Seconds it takes to reach its full volume when it starts
random_pitchnumber0 to 10.0Each start picks a speed this much faster or slower than pitch (0.1 = up to 10%): footsteps and impacts that do not repeat exactly
subtitlestring""A caption shown at the bottom of the screen while it plays (when subtitles are on): what is said, for a voice

NavAgent

Navigation agent: walks to its destination around obstacles while playing (speed in units/s)

FieldTypeRangeDefaultWhat it does
speednumber0 to 1.79769e+3083.5How fast it walks.
stopping_distancenumber0 to 1.79769e+3080.1Stops this far from the destination
destinationlist of number[0.0, 0.0, 0.0]Where it walks to.
has_destinationbooleanfalseWalk to the destination (off = stand still)

Scripts & Data

Layer Replicated Script StreamedScene Tag

Layer

Object layer index 0..=31

FieldTypeRangeDefaultWhat it does
indexinteger0The layer the object is on (cameras and physics can skip layers).

Replicated

Network replication: which components of this object the server sends to clients (comma separated)

FieldTypeRangeDefaultWhat it does
componentsstring"Transform,Transform3D"The components copied to other players in an online game.

Script

Attached script asset (project-relative path) and whether it is enabled

FieldTypeRangeDefaultWhat it does
pathstring""The script file that runs on this object.
enabledbooleantrueOff: the script does not run.

StreamedScene

One piece of a big world. Its scene comes in while the game plays when the camera is within load_distance of this object, a few objects a frame with its assets loaded away from the frame, and goes out past unload_distance

FieldTypeRangeDefaultWhat it does
scenestring""Project-relative path of the scene
load_distancenumber1 to 100000120.0How near the camera comes before it loads, in metres
unload_distancenumber1 to 100000160.0How far the camera goes before it unloads, in metres (kept above load_distance, or a camera on the line would load and unload it over and over)

Tag

Object tag: a free-form label scripts and filters can match

FieldTypeRangeDefaultWhat it does
tagstring"Untagged"A name to find the object by in scripts.

UI

UiButton UiCanvas UiDropdown UiGroup UiImage UiInput UiLabel UiLayout UiPanel UiProgressBar UiRect UiScroll UiSlider UiToggle UiTouchButton UiTouchLook UiTouchStick

UiButton

A button: the panel colour is the normal look; it fires action when clicked

FieldTypeRangeDefaultWhat it does
interactablebooleantrueOff: the button cannot be pressed and looks greyed.
hover_colorlist of number[0.46, 0.57, 1.0, 1.0]The colour while the pointer is over it.
pressed_colorlist of number[0.27, 0.37, 0.84, 1.0]The colour while it is pressed.
disabled_colorlist of number[0.2, 0.22, 0.28, 0.7]The colour while it cannot be pressed.
actionstring""Name scripts wait for (UI.Clicked("Play")); empty = the object's name. Built-in actions: scene:next, scene:prev, scene:reload, scene:<name or number>, quit, net:host:<scene>, net:join:<scene>, net:start, net:leave
hover_scalenumber0.5 to 21.03How big the button grows while the pointer is over it (1 = not at all)
press_scalenumber0.5 to 20.97How big the button is while pressed (1 = not at all)
transitionnumber0 to 20.12Seconds the colours and size take to follow the pointer (0 = at once)
hover_textlist of number[0.0, 0.0, 0.0, 0.0]The colour its words turn while the pointer is on it (all 0 = they stay as they are)
click_soundstring""Sound file of clicking it
hover_soundstring""Sound file of the pointer coming onto it
on_clicklist of string[]On Click: script methods a click calls, in order; each is objectid|Class|Method|argument (the Inspector's On Click list sets it)

UiCanvas

Root of a game UI: fills the game view, scales from a reference size, picks the reading direction

FieldTypeRangeDefaultWhat it does
referencelist of number[1280.0, 720.0]The size the UI is designed at (pixels)
scale_modestring"Fit"Fit | Fill | MatchWidth | MatchHeight | Blend | Constant (Fit keeps all of the reference visible, Fill covers the window, Blend mixes width and height by match_width_height, Constant is scale_factor pixels per unit whatever the window)
match_width_heightnumber0 to 10.5Blend only: 0 scales with the width, 1 with the height, in between a mix
layout_directionstring"Auto"Auto (follows the game language: Arabic, Persian, Urdu and Hebrew read right to left) | LeftToRight | RightToLeft
visiblebooleantrueOff: the whole canvas is hidden.
navigationbooleanfalseKeyboard / gamepad navigation: the Horizontal and Vertical actions move between controls and Submit uses the one in focus (turn off if the game uses those actions to move)
scale_factornumber0.05 to 161.0Constant only: how many screen pixels one UI unit takes
min_scalenumber0 to 1.79769e+3080.0The smallest scale the UI may shrink to (0 = no limit): keeps text readable on small screens
max_scalenumber0 to 1.79769e+3080.0The largest scale the UI may grow to (0 = no limit)
portrait_referencelist of number[720.0, 1280.0]The size the UI is designed at for tall screens (used below portrait_below_aspect)
portrait_below_aspectnumber0 to 1.79769e+3080.0Responsive layouts: when the window is narrower than this width / height ratio (for example 1.0) the portrait reference is used instead of the reference (0 = never)
safe_areabooleanfalseKeep the UI inside the device's safe area (notches, rounded corners, the home bar) on phones and tablets
touch_onlybooleanfalseOnly on touch screens, and only while the game plays: hidden on a computer and over menus, and that is how a game's on-screen controls stay out of the way
marginlist of number[0.0, 0.0, 0.0, 0.0]Extra space kept free inside the window edges (left, top, right, bottom), in UI units
render_modestring"Screen"Screen | World: Screen is drawn over the game's screen; World is a flat panel standing in the scene at this object's Transform 3D (a sign, a terminal, a menu in the world), reference units wide and high
world_sizenumber0.0001 to 100.01World only: how many metres one canvas unit takes (0.01: a 1280 x 720 canvas is 12.8 x 7.2 m)

UiDropdown

A dropdown: click to open the list and pick one of the options

FieldTypeRangeDefaultWhat it does
optionsstring"Option A|Option B|Option C"The choices, separated by | (for example Low|Medium|High)
selectedinteger0The chosen option, counting from 0
sizenumber1 to 1.79769e+30824.0How tall the list is.
colorlist of number[0.96, 0.97, 1.0, 1.0]The colour of the box.
interactablebooleantrueOff: the list cannot be opened.
actionstring""Name scripts wait for when a choice is picked (UI.Selected); empty = the object's name

UiGroup

Fades this UI object and everything under it together (alpha), and can switch all their widgets off (interactable)

FieldTypeRangeDefaultWhat it does
alphanumber0 to 11.0Opacity of the object and everything under it (0 = gone, 1 = as drawn)
interactablebooleantrueIts buttons, sliders, toggles, fields and dropdowns take the pointer and keys (off: none under it does)

UiImage

A picture from the project, tinted

FieldTypeRangeDefaultWhat it does
imagestring""The picture shown.
tintlist of number[1.0, 1.0, 1.0, 1.0]A colour multiplied into the picture.
keep_aspectbooleantrueKeep the picture's proportions inside the rect
image_modestring"Simple"Simple | Sliced | Tiled | Filled (Sliced keeps the picture's corners and stretches only its middle, Tiled repeats it, Filled reveals part of it by fill_amount)
slice_borderlist of number[8.0, 8.0, 8.0, 8.0]Sliced only: the corner size in picture pixels (left, top, right, bottom)
raycast_targetbooleantrueClicks on the picture stop at it: widgets behind it do not hear them (turn off for a decoration that sits over a button)
flip_xbooleanfalseMirror the picture left to right
flip_ybooleanfalseMirror the picture top to bottom
tile_scalenumber0.05 to 161.0Tiled only: how big each repeat is (1 = the picture's own pixels at the canvas scale)
fill_methodstring"Horizontal"Filled only: Horizontal | Vertical: the direction the picture is revealed in
fill_originstring"Start"Filled only: Start | End: which side it fills from (left / top or right / bottom)
fill_amountnumber0 to 11.0Filled only: how much of the picture shows (a health bar, a cooldown)

UiInput

A text input: click to type (any language), Enter submits; the panel is its background

FieldTypeRangeDefaultWhat it does
textstring""What is typed in the box.
placeholderstring"Type here..."Shown dimmed while the field is empty
sizenumber1 to 1.79769e+30824.0How big the typed text is.
colorlist of number[0.96, 0.97, 1.0, 1.0]The colour of the text.
max_lengthinteger0 to 1.79769e+3080Most characters allowed (0 = no limit)
passwordbooleanfalseShow * instead of the characters
interactablebooleantrueOff: the box cannot be typed in.
actionstring""Name scripts wait for when Enter is pressed (UI.Submitted); empty = the object's name
settingstring""The player's setting it shows and keeps between runs: Name or Address
focus_colorlist of number[0.36, 0.48, 1.0, 1.0]The line round it while it has the keyboard

UiLabel

Text: a string, or a key of the project's string tables (so it follows the game language)

FieldTypeRangeDefaultWhat it does
textstring"Label"The words shown.
keystring""A Localization/*.csv key; when set it replaces text in the game language ({0} takes the object's value)
sizenumber1 to 1.79769e+30824.0Font size in pixels
colorlist of number[0.96, 0.97, 1.0, 1.0]The colour of the words.
text_alignstring"Start"Start | Center | End | Left | Right (Start / End follow the reading direction)
text_directionstring"Auto"Auto | LeftToRight | RightToLeft (Auto: the canvas direction if it is set, else the text decides)
wrapbooleantrueBreak lines at the box's width
digitsstring"AsWritten"AsWritten | ArabicIndic | Persian | Western: which digits to draw
fontstring""A project font (.ttf / .otf), or Inter / Inter Bold which every game carries; empty = Inter
shadownumber0 to 1.79769e+3080.0A soft drop shadow behind the letters, how far it falls in canvas units (0 = none): keeps text readable over a busy scene
verticalbooleanfalseWrite top to bottom, columns running from right to left (Chinese, Japanese, Korean); with wrap the box's height is the column length
spacingnumber0.0Extra room between letters, in canvas units
capsbooleanfalseShow the text in capitals, however it is written
weightstring"Regular"Light | Regular | Medium | SemiBold | Bold | Black: how heavy the letters are (Inter has every weight; another font is drawn heavier)
italicbooleanfalseSlanted letters
underlinebooleanfalseA line under the text
strikethroughbooleanfalseA line through the middle of the text
auto_sizebooleanfalseBest fit: the largest size between min_size and max_size at which the text fits its box (size is not used)
min_sizenumber1 to 1.79769e+30810.0Auto size: the smallest the text may get
max_sizenumber1 to 1.79769e+30872.0Auto size: the largest the text may get
vertical_alignstring"Middle"Top | Middle | Bottom: where the text sits in its box, up and down
line_spacingnumber0.5 to 41.2Room between lines, as a multiple of the font's height
outlinenumber0 to 1.79769e+3080.0A line around every letter, this thick in canvas units (0 = none): keeps text readable over anything
outline_colorlist of number[0.0, 0.0, 0.0, 1.0]The colour of the outline
overflowstring"Overflow"Overflow | Clip | Ellipsis: text too long for its box goes past it, is cut at its edges, or ends in ...

UiLayout

Container layout: children in a row, a column or a grid (their own placement is ignored)

FieldTypeRangeDefaultWhat it does
arrangestring"Vertical"Horizontal | Vertical | Grid
spacingnumber0 to 1.79769e+3088.0The gap between what is inside.
paddinglist of number[8.0, 8.0, 8.0, 8.0]Left, top, right, bottom
columnsinteger1 to 1.79769e+3083Grid: how many columns
cell_sizelist of number[96.0, 96.0]Grid: the size of every cell
fill_crossbooleanfalseRow / column: stretch children across the container instead of using their own size
cross_alignnumber0 to 10.0Where children sit across the main direction when not stretched: 0 start, 0.5 middle, 1 end

UiPanel

A filled rectangle: colour, border, optional picture

FieldTypeRangeDefaultWhat it does
colorlist of number[0.094, 0.106, 0.157, 0.97]The colour of the box.
border_colorlist of number[1.0, 1.0, 1.0, 0.09]The colour of the edge.
border_widthnumber0 to 1.79769e+3081.0How thick the edge is.
imagestring""A project picture drawn over the colour (tinted by it); empty = none
image_modestring"Simple"Simple | Sliced: Sliced keeps the picture's corners and stretches only its middle (buttons, frames)
slice_borderlist of number[8.0, 8.0, 8.0, 8.0]Sliced only: the corner size in picture pixels (left, top, right, bottom)
radiusnumber0 to 1.79769e+30812.0Rounded corners: the radius in canvas units (capped at half the shorter side, so a big value makes a pill)
shadownumber0 to 1.79769e+3080.0A soft shadow under the panel: how far it lifts off the screen, in canvas units (0 = none)
glossnumber0 to 10.0A light-to-dark sheen from the top to the bottom of the panel (0 = flat colour)
fade_tolist of number[0.0, 0.0, 0.0, 0.0]The colour it fades to at the bottom (all 0 = none)

UiProgressBar

A progress / health bar: fills from min to max over the panel

FieldTypeRangeDefaultWhat it does
valuenumber0.5How full the bar is.
minnumber0.0The value at which the bar is empty.
maxnumber1.0The value at which the bar is full.
fill_colorlist of number[0.3, 0.82, 0.55, 1.0]The colour of the filled part.
fillstring"Start"Start | End | Up | Down: where the bar fills from (Start / End follow the reading direction)

UiRect

UI placement: an anchor preset (or custom anchors), a position from the anchor and a size

FieldTypeRangeDefaultWhat it does
anchorstring"Center"TopLeft | Top | TopRight | Left | Center | Right | BottomLeft | Bottom | BottomRight | StretchAll | StretchTop | StretchBottom | StretchLeft | StretchRight | StretchX | StretchY | Custom
anchor_minlist of number[0.0, 0.0]Custom only: where the rect's corner is pinned in the parent (0..1)
anchor_maxlist of number[0.0, 0.0]The corner of the parent's box the far corner of this one stays tied to.
pivotlist of number[0.0, 0.0]Custom only: the point of the rect that sits on the anchor (0..1)
positionlist of number[0.0, 0.0]Offset from the anchor; on a stretched axis the inset from the left / top edge
sizelist of number[200.0, 60.0]Width and height; on a stretched axis the inset from the right / bottom edge
rotationnumber0.0Degrees, counter-clockwise, about the middle of the rect. Turns this object's drawing (panel, picture, text) and everything under it. Scripts: UI.SetRotation
turn_aboutlist of number[0.5, 0.5]The point the rotation turns about, as a fraction of the rect (0 0 = top-left, 0.5 0.5 = middle). Scripts: UI.SetRotationPivot
only_onstring""Shown only with this kind of input: touch or keys; empty is always. For words that name keys, or a finger

UiScroll

A scroll view: its children scroll with the mouse wheel or a drag and are clipped to its rect

FieldTypeRangeDefaultWhat it does
scrolllist of number[0.0, 0.0]How far the content is scrolled (x, y), in canvas pixels
verticalbooleantrueAllow scrolling up and down.
horizontalbooleanfalseAllow scrolling left and right.
wheel_speednumber0 to 1.79769e+30860.0Pixels per mouse-wheel notch
scrollbarbooleantrueA bar at the right edge shows how much is in view; its thumb can be dragged

UiSlider

A slider: drag along the panel to change the value

FieldTypeRangeDefaultWhat it does
valuenumber0.5Where the handle is.
minnumber0.0The value at the left end.
maxnumber1.0The value at the right end.
stepnumber0 to 1.79769e+3080.0Snap the value to multiples of this (0 = smooth)
interactablebooleantrueOff: the slider cannot be dragged.
fill_colorlist of number[0.36, 0.48, 1.0, 1.0]The colour of the filled part.
handle_colorlist of number[1.0, 1.0, 1.0, 1.0]The colour of the handle.
settingstring""The player's setting it changes, kept between runs: Volume, Music or Mouse

UiToggle

A toggle: click to switch on and off

FieldTypeRangeDefaultWhat it does
checkedbooleanfalseWhether the switch is on.
interactablebooleantrueOff: the switch cannot be changed.
check_colorlist of number[0.36, 0.48, 1.0, 1.0]The colour of the tick.
actionstring""Name scripts wait for when it is clicked; empty = the object's name
groupstring""Toggles sharing a group name are radio buttons: turning one on turns the others off (a tab bar)
targetstring""Name of an object that is shown while this toggle is on and hidden while it is off (a tab's page)
settingstring""The player's setting it changes, kept between runs: Fullscreen

UiTouchButton

An on-screen button: presses an input action while a finger is on it

FieldTypeRangeDefaultWhat it does
actionstring""The input action it presses (Fire, Jump, Reload...)
togglebooleanfalseA tap stays on until the next tap (aiming), instead of lasting as long as the finger
lookbooleanfalseDragging the finger on it turns the view as well (a fire button, to aim while shooting)
over_menusbooleanfalseIt stays when a menu or the bag is over the game: the way to close them
pressed_colorlist of number[1.0, 0.75, 0.2, 0.75]The colour while it is pressed.

UiTouchLook

An area where a drag turns the view, under the other controls

FieldTypeRangeDefaultWhat it does
speednumber0.05 to 81.0How fast a drag turns the view

UiTouchStick

An on-screen stick: a thumb pushes two input actions

FieldTypeRangeDefaultWhat it does
action_xstring"Horizontal"The input action left and right set
action_ystring"Vertical"The input action up and down set
reachnumber8 to 1.79769e+30880.0How far the knob goes from the middle, in UI units
follows_fingerbooleantrueThe stick comes to where the thumb lands in its rect, so it is never missed; off, it stays in the middle of the rect
run_actionstring""An input action held while the knob is pushed all the way (Sprint); empty for none
restlist of number[0.5, 0.5]Where it waits with no thumb on it, as a fraction of the rect
ring_colorlist of number[1.0, 1.0, 1.0, 0.28]The colour of the ring.
knob_colorlist of number[1.0, 1.0, 1.0, 0.55]The colour of the knob.

Simulation

Arcade BattleBot BattleHud BattleMatch BoatController ClothSim DamageZone Damageable DayNight EnemyAI Floater FluidSim Footsteps Fracture GameRules Grass HeldGun Inventory Loot MeleeAttack Ocean OnBone Parachute PauseMenu RaceRival RaceTrack RopeSim SafeZone SceneLook Shooter SmokeSim SoftBodySim Spawner SprayCan ThirdPersonCamera Vehicle Wander Wheel Wind

Arcade

A classic game kept by the engine with no script: pong, snake, breakout, flappy or tetris

FieldTypeRangeDefaultWhat it does
gamestring"pong"pong | snake | breakout | flappy | tetris | tictactoe | four | checkers | chess | memory | blackjack | solitaire | sudoku | sliding | mines | clicker
goalnumber1 to 10005.0Pong: the points that win
pacenumber0.2 to 51.0How fast it plays
score_textstring"{score}"The line at the top: {score} {other} {lives}
won_textstring""The line on winning
lost_textstring""The line on losing
scorenumber0.0(set by the game)
othernumber0.0The other side's points, or the lives left (set by the game)
wonbooleanfalse(set by the game)
lostbooleanfalse(set by the game)
timernumber0.0(set by the game)
movesnumber0.0(set by the game)
velocitylist of number[0.0, 0.0, 0.0](set by the game)
statestring""(set by the game)
heldstring""(set by the game)
levelnumber1 to 32.0Board games: how well the computer plays, 1 to 3
seednumber0.0The deal, the board or the shuffle: the same number gives the same game; 0 = a new one each time
statusstring""What is happening, in words: the HUD's {status} (set by the game)
specstring""game "spec": the game in the game language (JSON: things, start, spawn, touch, win, lose)
featurestring""The name the game's stored tests go by

BattleBot

A fighter that plays by itself: it finds a gun, keeps inside the SafeZone, walks over the ground of a Terrain around what is solid, and shoots any other fighter it sees (not one of its team). It needs a Damageable, and stands on its origin. A ModelAnimator with locomotion shows it walking

FieldTypeRangeDefaultWhat it does
sightnumber1 to 2000120.0How far it sees another fighter, in metres
skillnumber0 to 10.5How well it shoots: 0 wild, 1 dead on
speednumber0.1 to 605.5Running speed in metres per second
statestring""What it is doing now: Falling, Arming, Moving or Fighting (set by the game)
targetstring""The name of what it is shooting at (set by the game)
teamstring""Bots of the same team never pick each other to shoot (blank: everyone for themselves)

BattleHud

On a UI object of a last-one-standing game: the game keeps it up to date with no script. show: Alive, Kills, Ammo, Zone or EndTitle fill a UiLabel, Health a UiProgressBar, and End shows the object only when the match is over. create_ui {template:"BattleHud"} makes the whole screen

FieldTypeRangeDefaultWhat it does
showstring"Alive"Alive | Kills | Ammo | Reserve | Zone | Health | HealthLag | HealthNumber | Gun1 | Gun2 | Meds | Speed | Prompt | Hint | HintKey | Progress | ProgressLabel | Feed | KillNote | Hurt | HurtFrom | Crosshair | HitMark | Bearing | CompassZone | BigMap | MapYou | MapZone | MapNext | End | EndTitle | EndNote | EndKills | EndDamage | EndTime | EndAlone | EndMenu | Lobby | LobbyPlayers | LobbyStart
map_sidenumber8 to 2000200.0Map parts: how wide the map they stand on is, on the canvas
valuenumber0.0Bearing and Crosshair: which way it stands, in degrees clockwise from the top

BattleMatch

Runs a last-one-standing match: at the start every fighter (each BattleBot, and the player) is put high over a random piece of land to come down, and the match counts who is left. It is Won when the player is the last, Lost when the player dies. Read state, alive, total, kills and place for a HUD

FieldTypeRangeDefaultWhat it does
playerstring"Player"The name of the object the person plays
drop_heightnumber0 to 2000220.0How high over the ground everyone starts, in metres (0 = where they stand)
drop_radiusnumber0 to 10000800.0How far from this object they may come down, in metres
fall_speednumber0.1 to 20016.0How fast they fall on the way down, in metres per second
seedinteger1Which places they drop on: the same seed drops them the same way
statestring""Playing, Won or Lost (set by the game)
aliveinteger0Fighters alive (set by the game)
totalinteger0Fighters at the start (set by the game)
killsinteger0How many the player has killed (set by the game)
placeinteger0Where the player came: 1 is the winner (set by the game)
onlinebooleanfalseThe match is played over a network (set by the game)
start_gunstring""The name of a gun object (a Loot, which can be switched off) that those with an Inventory start with
win_soundstring""Sound file of the player winning
lose_soundstring""Sound file of the player losing

BoatController

Sails or rows the object with the Horizontal and Vertical input (A/D or left/right turn, W/S or up/down sail and brake, or a gamepad stick): it speeds up along its facing, turns more the faster it goes, slows down by itself and is held back a little by the water. Put it with a Floater on the boat. A boat faces -Z at yaw 0

FieldTypeRangeDefaultWhat it does
max_speednumber0.5 to 608.0Top speed in metres per second
accelerationnumber0.1 to 302.5How fast it speeds up, in metres per second each second
turn_ratenumber5 to 36060.0How fast it can turn at best, in degrees per second (it turns less when slow, so it cannot spin on the spot)
dragnumber0 to 50.4How much it slows down each second when you are not sailing it (water drag)
use_inputbooleantrueRead the input actions (off: a script sets throttle and rudder)
throttlenumber-1 to 10.0Sail trim and throttle, set by a script when use_input is off (-1 back, 1 full)
ruddernumber-1 to 10.0Rudder, set by a script when use_input is off (-1 left, 1 right)
speednumber0.0Speed now in metres per second (read it from a script: wake, sound, speedometer)

ClothSim

Cloth that hangs, blows in the wind and drapes over colliders while the scene plays

FieldTypeRangeDefaultWhat it does
widthnumber0.1 to 602.0Width in metres
heightnumber0.1 to 602.0Height (or depth, for a flat sheet) in metres
columnsinteger4 to 8024Particles across: more is smoother and slower
rowsinteger4 to 8024Particles down
planestring"Vertical"Vertical | Horizontal: a hanging sheet (curtain, flag) or a flat one (tablecloth, sail)
pinstring"TopEdge"TopEdge | TopCorners | Corners | None: what holds the cloth up
stiffnessnumber0 to 11.0How stiff the weave is
bendnumber0 to 10.15How much it resists folding sharply (0 = silk, 1 = card)
dampingnumber0 to 10.55The share of its speed it keeps each second (low = heavy air drag)
windlist of number[0.0, 0.0, 0.0]Wind velocity in metres per second
gustnumber0 to 10.3How much the wind gusts
collidebooleantrueBounce off the box, sphere and capsule colliders of the scene
colorlist of number[0.8, 0.25, 0.25]Colour of the cloth
materialstring""A material for the cloth ("" = the colour above)
tearablebooleanfalseThe cloth tears when it is pulled too hard
tear_stretchnumber1.1 to 51.6How far a thread stretches (times its length) before it tears
self_collidebooleanfalseThe cloth is stopped by itself: folds rest on each other instead of passing through (slower)
cut_pointlist of number[0.0, 0.0, 0.0]Cutting: where a cut is made (world position); a script sets it, then adds one to cut_serial
cut_radiusnumber0.01 to 50.15Cutting: how wide a cut is, in metres
cut_serialinteger0Cutting: every time this number changes, the cloth is cut at cut_point (from a script: go.Set("ClothSim", "cut_serial", n + 1))
massnumber0 to 10002.0Weight in kilograms, shared over its particles: what it weighs on a rigid body it rests on and how hard it knocks one it hits (0 = it pushes nothing)

DamageZone

A zone that hurts (lava, spikes, fire) or heals (a health pack, a healing spring) every Damageable that is within radius of the object. Positive amount hurts, negative heals. per_second makes it continuous; otherwise it acts once each time something steps in. once uses it up: the zone and its object are switched off after the first time (a pickup)

FieldTypeRangeDefaultWhat it does
amountnumber-10000 to 1000010.0Hit points taken off (negative heals)
per_secondbooleantrueThe amount is per second while something is in the zone (off: once each time it steps in)
radiusnumber0.1 to 1001.5How far from the object it reaches, in metres
oncebooleanfalseUsed up by the first thing that triggers it: the object is switched off (a health pack)
enabledbooleantrueSwitched on

Damageable

Hit points: what can be hurt and die. Enemies (EnemyAI) and damage zones (DamageZone) hurt it. At zero dead becomes true, and the object is switched off (destroy_on_death) or, when it has a Fracture set to Manual, breaks into pieces. Read health from a script (a health bar) with go.Get

FieldTypeRangeDefaultWhat it does
max_healthnumber1 to 100000100.0Most hit points it can have
healthnumber0 to 100000100.0Hit points now
regennumber0 to 10000.0Hit points it heals each second by itself
invulnerablebooleanfalseDamage does nothing (healing still works)
destroy_on_deathbooleantrueAt zero hit points the object is switched off (with a Fracture on Manual it breaks instead)
deadbooleanfalseTrue once it has died (set by the game)
hurt_soundstring""Sound file of it being hurt
death_soundstring""Sound file of it dying
vestnumber0.0How much of a hit to the body its vest stops, 0 to 1 (set by the game)
vest_leftnumber0.0How much of a beating the vest can still take (set by the game)
helmetnumber0.0How much of a hit to the head its helmet stops, 0 to 1 (set by the game)
helmet_leftnumber0.0How much of a beating the helmet can still take (set by the game)
boostnumber0.0Hit points still to come from what was drunk (set by the game)
boost_ratenumber0.0How many of them come each second (set by the game)
wornlist of integer[0, 0, 0]The level of the vest, helmet and pack it has on, 0 none (set by the game)

DayNight

A day and night cycle: the sun (and at night the moon) crosses the sky, and the sky, the ambient light and the fog colour follow the hour of the day, with orange sunrises and sunsets and a dark blue night. It takes over the scene's Directional Light and sky while it exists. Set hour to pick a time; with auto on the hour moves while the game plays

FieldTypeRangeDefaultWhat it does
hournumber0 to 2410.0The hour of the day, 0 to 24 (6 sunrise, 12 noon, 18 sunset, 0 midnight); in the editor it shows that time of day
autobooleantrueThe hour moves on its own while the game plays
day_lengthnumber5 to 36000240.0How many real seconds a whole day (24 hours) takes while it plays
sunrisenumber0 to 126.0The hour the sun comes up
sunsetnumber12 to 2418.0The hour the sun goes down
moonlightnumber0 to 10.15How bright the moonlight is at night (0 = pitch dark)

EnemyAI

An enemy that wanders near where it starts, chases its target when it comes within range and attacks it up close, hurting the target's Damageable. It walks straight at the target and slides along walls (box, sphere and capsule colliders); it stands still when its own Damageable is dead. Put a ModelAnimator with locomotion on it and it shows idle, walk and run by how fast it really moves

FieldTypeRangeDefaultWhat it does
targetstring"Player"The name of the object to chase and attack
detect_rangenumber0.5 to 20012.0It notices the target this close, in metres
lose_rangenumber0.5 to 30018.0It gives up the chase when the target is farther than this
attack_rangenumber0.3 to 501.8It attacks from this close
damagenumber0 to 1000010.0Hit points taken off the target by each attack
cooldownnumber0.1 to 601.2Seconds between attacks
speednumber0.1 to 603.5Chase speed in metres per second
wander_radiusnumber0 to 1004.0It wanders within this distance of where it started (0 = it stands still until it sees the target)
statestring"Idle"What it is doing now: Idle, Wander, Chase or Attack (set by the game)

Floater

Makes the object float on an Ocean: it rises and falls with the waves and leans (pitch and roll) with their slope while the scene plays. Its own turn about the vertical axis and its sideways movement are left to you (a script steering a boat). Children of the object ride with it. Do not also give it a RigidBody

FieldTypeRangeDefaultWhat it does
oceanstring""The name of the Ocean object to float on ("" = the first Ocean in the scene)
offsetnumber-10 to 100.0How far the object's origin sits above the water, in metres (negative = sunk into it: a hull's origin at its deck sits low)
lengthnumber0.2 to 1004.0Length of the thing, front to back, in metres: the waves are read at the bow and stern this far apart to find the pitch
widthnumber0.2 to 1002.0Width of the thing, side to side, in metres: the waves are read at its two sides to find the roll
tiltnumber0 to 10.8How much it leans with the waves (0 = it only rises and falls, 1 = it follows the surface closely)
driftnumber0 to 10.6How much the water carries it sideways: the current and the push of the swell (0 = it stays where you put it, 1 = it drifts like a cork)
responsenumber0.5 to 405.0How quickly it follows the water: low is heavy and slow (a ship), high is light and quick (a buoy)

FluidSim

A fluid of particles in a box: it flows, pours, splashes and fills what it is poured into while the scene plays

FieldTypeRangeDefaultWhat it does
box_sizelist of number[2.0, 1.5, 1.0]Size of the box the fluid stays in (centred on the object)
modestring"Block"Block | Emitter | Empty: start with a block of fluid, pour more in from the top, or begin empty (then use Emitter)
filllist of number[0.35, 0.7, 1.0]Block: how much of the box the starting block fills along each axis (from the left, bottom and back)
spacingnumber0.03 to 0.50.09Distance between particles in metres: smaller is more detailed and much slower
viscositynumber0 to 10.040 = water, 1 = syrup
cohesionnumber0 to 10.15How strongly it holds together (drops, surface tension)
max_particlesinteger16 to 80003000Most particles at once
emit_ratenumber1 to 2000150.0Emitter: particles poured in per second
colorlist of number[0.18, 0.5, 0.95]Colour of the fluid
opacitynumber0.1 to 10.81 = solid, lower = see-through
collidebooleantrueFlow round and over the colliders of the scene
surfacestring"Smooth"Smooth | Spheres: draw the water as one smooth surface, or as the particles
buoyancybooleantruePush rigid bodies: things lighter than water float, heavier ones sink, and the water slows what moves through it
wave_heightnumber0 to 30.0Waves: a paddle on the left wall of the box swings out and back this far (metres) and sends waves across the water (0 = still water; needs a box that is longer than it is deep)
wave_periodnumber0.5 to 102.0Waves: seconds for one swing of the paddle (shorter = more, closer waves)
foamnumber0 to 10.5Foam and spray thrown off fast, broken-up water (crests, splashes, pouring): white bits that fly, land and float on the water, then fade (0 = none)

Footsteps

A step sound for each stride its object walks or runs on the ground, by a script or anything else

FieldTypeRangeDefaultWhat it does
clipstring""Sound file of one step
stridenumber0.1 to 201.5Metres between two steps
volumenumber0 to 10.35How loud
radiusnumber1 to 100030.0Metres away it can no longer be heard

Fracture

Makes the object shatter into Voronoi pieces that fall as real rigid bodies, from where it was hit

FieldTypeRangeDefaultWhat it does
piecesinteger2 to 12024How many pieces
seedinteger0 to 1000001Another number gives another break pattern
impact_biasnumber0 to 10.8How many pieces gather where it was hit (0 = even pieces, 1 = small shards at the hit and big chunks away from it)
relaxinteger0 to 41Rounds of evening out the pieces
triggerstring"OnImpact"OnImpact | OnPlay | Manual: it breaks when something hits it fast enough, as soon as the game starts, or when broken is set to true
impact_speednumber0.1 to 1003.0OnImpact: how fast (metres per second) something must hit it to break it
explosionnumber0 to 302.5How fast the pieces fly outward from the hit, in metres per second
brokenbooleanfalseManual: set to true while playing to break it now
inner_colorlist of number[0.55, 0.5, 0.45]Colour of the faces the break opens up (the inside of the pieces)
dustnumber0 to 31.0Dust: a cloud of dust and grit thrown up when it breaks (0 = none, 1 = a normal cloud, 3 = a thick one)
dust_colorlist of number[0.6, 0.57, 0.52]Colour of the dust
previewbooleanfalseShow the break pattern in the editor: the pieces drawn a little apart, each in its own colour (a change of pieces or seed shows at once)

GameRules

A small game's rules, with no script: Collect, Survive, Race or Hunt, and the words on its HUD

FieldTypeRangeDefaultWhat it does
kindstring"Collect"Collect | Survive | Race | Hunt (items: "Bear:Bears,Wolf:Wolves", the herds hunted; {quests} and {level} on the HUD)
playerstring"Player"The object that plays
itemsstring"Coin"Collect: what is collected: objects called this and a number
goalnumber1 to 100010.0How many to collect, waves to beat or laps to drive
reachnumber0.1 to 501.8How near counts, in metres
score_textstring"Score {score}"The line at the top: {score} {goal} {wave} {time}
won_textstring""The line on winning
lost_textstring""The line on losing
scorenumber0.0(set by the game)
secondsnumber0.0(set by the game)
wonbooleanfalse(set by the game)
lostbooleanfalse(set by the game)
tracklist of number[0.0, 0.0, 0.0]Race: the track's straight, its bends' radius and its width
nextnumber0.0(set by the game)

Grass

Grass around the camera, on the object's Terrain, wherever its first layer shows

FieldTypeRangeDefaultWhat it does
densitynumber0 to 407.0Tufts on each square metre close by
reachnumber8 to 30070.0How far from the camera it grows, in metres
heightnumber0.05 to 30.36How tall it stands, in metres
enabledbooleantrueDraw grass on the terrain.

HeldGun

On a child of a fighter: it is shown only while the fighter has a gun (with only, a gun of that length). The gun in its hands, and the IkTargets that grip it, so hands reach for it only when it is there

FieldTypeRangeDefaultWhat it does
enabledbooleantrueSwitched on
onlystring""Long = only with a long gun, Short = only with a short one (a left hand reaches further for a rifle), empty = with any
shows_modelbooleanfalseIt takes on the model of the gun in hand
loweredbooleanfalseIt has come down with someone crouching (set by the game)
partstring""Gun = this is the gun, Right or Left = where that hand goes: the game then keeps it in place, with the butt in the shoulder and the hands where the gun says. Empty = it stays where it was put
shoulderlist of number[0.0, 0.0, 0.0]With a part: the right shoulder joint, from the object of the one holding it, who faces -z
lownumber0.0How far down it has come so far (set by the game)
prone_shoulderlist of number[0.0, 0.0, 0.0]With a part: the right shoulder joint of the one holding it lying on their front, from their object, worked out from their prone clip when they are made; [0, 0, 0] = they cannot lie down, and a gun is held lower instead (set by the game)
lienumber0.0How far it has gone from standing to lying, 0 to 1 (set by the game)

Inventory

Two guns to swap between and med kits to use when it suits: without it what is walked over works at once

FieldTypeRangeDefaultWhat it does
max_medsinteger0 to 1005How many med kits it can carry
heal_secondsnumber0 to 604.0Seconds a med kit takes: firing stops it, and keeps the kit
swap_actionstring"Swap"The input action that changes to the other gun (Swap = Q or the gamepad's right shoulder)
take_actionstring"Take"The input action that takes the gun lying here for the one in hand (Take = E or the gamepad's D-pad up)
heal_actionstring"Heal"The input action that uses a med kit (Heal = H or the gamepad's D-pad down)
throw_actionstring"Throw"The input action that throws a grenade (Throw = G or the gamepad's left stick)
crouch_actionstring"Crouch"The input action that crouches and stands up again (Crouch = C or the gamepad's right stick)
prone_actionstring"Prone"The input action that lies down on the front and gets up again (Prone = Z): a fighter lying down crawls, is hard to hit and holds the gun along the ground
first_gunstring""The first gun carried (set by the game)
second_gunstring""The second gun carried (set by the game)
holdinginteger0Which one is in hand: 0 or 1 (set by the game)
medsinteger0Med kits carried (set by the game)
healingnumber0.0Seconds of using a med kit still to go (set by the game)
offerstring""The gun lying here that could be taken (set by the game)
healing_ofnumber0.0How long the thing being used takes (set by the game)
usingstring""What the screen says while something is used (set by the game)
bagstring""What is in the bag, a line for each kind of thing: kind|name|how many|level (set by the game)
roomnumber100.0How much the bag holds (set by the game)
carriednumber0.0How much is in the bag (set by the game)
vestinteger0The level of the vest worn, 0 for none (set by the game)
helmetinteger0The level of the helmet worn, 0 for none (set by the game)
backpackinteger0The level of the backpack worn, 0 for none (set by the game)
first_partsstring""What is fitted to the first gun (set by the game)
second_partsstring""What is fitted to the second gun (set by the game)

Loot

Something on the ground that a fighter takes by walking over it, and that then disappears. kind Gun gives a Shooter with these numbers, or swaps for a better one; Ammo adds amount rounds to what is carried; Health heals amount. Bots go and fetch what they lack

FieldTypeRangeDefaultWhat it does
kindstring"Gun"Gun | Ammo | Health | Vest | Helmet | Backpack | Attachment | Grenade (damage is what it does close by; 0 is a smoke grenade)
amountnumber0 to 10000030.0Ammo: rounds. Health: hit points. Gun: rounds carried besides a full magazine
radiusnumber0.1 to 501.6How close a fighter has to come, in metres
damagenumber0 to 1000020.0Gun: hit points a shot takes
cooldownnumber0.02 to 300.12Gun: seconds between shots
magazineinteger1 to 100030Gun: rounds a magazine holds
reload_secondsnumber0 to 302.2Gun: seconds a reload takes
spreadnumber0 to 451.0Gun: how far a shot may stray, in degrees
speednumber1 to 2000300.0Gun: how fast a shot flies, in metres per second
recoilnumber0 to 200.0Gun: how far each shot kicks the player's view up, in degrees; a long burst also pulls to the sides, the same way every time
dropnumber0 to 1009.8Gun: how fast its shots fall, in metres per second each second
soundstring""Sound file of taking it up
labelstring""What it is called on the player's screen; empty = the object's name
shot_soundstring""Gun: sound file of a shot
reload_soundstring""Gun: sound file of a reload
hit_soundstring""Gun: sound file the player hears when a shot hits someone
modelstring""Gun: the model shown in the hands of whoever has it (with a HeldGun that shows_model)
shortbooleanfalseGun: short enough for the left hand to hold it by the right (a pistol)
griplist of number[0.0, 0.0, 0.0]Gun: where the right wrist goes on its model, in the model's own metres, -z towards the muzzle
forelist of number[0.0, 0.0, 0.0]Gun: where the left wrist goes on its model
buttlist of number[0.0, 0.0, 0.0]Gun: the point of its model that sits in the shoulder
muzzlelist of number[0.0, 0.0, 0.0]Gun: the end of its barrel
raillist of number[0.0, 0.0, 0.0]Gun: where a scope sits; 0 0 0 = it has one of its own, or none fits
lastsnumber0 to 6000.0Health: seconds it goes on healing for once used; 0 = all at once
held_sizenumber0 to 100.0Gun: how big its model is drawn in the hands; 0 = a gun with no places given, which is held as an ordinary rifle would be
calibrestring""Gun and Ammo: the rounds it takes, such as 5.56, 7.62, 9 mm or 12 gauge; empty fits anything else that is empty
levelinteger1 to 31Vest, Helmet and Backpack: how good it is, 1 to 3
use_secondsnumber0 to 600.0Health: seconds it takes to use (0 = the Inventory's heal_seconds)
fitsstring""Attachment: Scope (level 1, 2 or 3 is 2, 4 or 8 times), Magazine, Silencer or Grip

MeleeAttack

A melee attack for the player or an enemy: when the input action is pressed it hurts every Damageable (not itself) within range in front of it (inside arc degrees), then waits cooldown. It needs no script: a sword is this on the player. The attacker faces -Z at yaw 0, so a character that turns to walk faces its swing

FieldTypeRangeDefaultWhat it does
actionstring"Fire"The input action that swings it (Fire = left mouse button, Enter or the gamepad's West button; Jump = Space)
damagenumber0 to 1000025.0Hit points taken off each thing hit
rangenumber0.2 to 502.2How far the swing reaches, in metres
arcnumber10 to 360140.0How wide the swing is, in degrees (360 hits all round)
cooldownnumber0.05 to 300.5Seconds between swings
knockbacknumber0 to 503.0How hard what is hit is pushed back, in metres per second of shove
last_hitstring""The name of what the last swing hit (set by the game)

Ocean

An open sea of moving waves (a sum of Gerstner waves: sharp crests, broad troughs, foam on the tallest), drawn as one surface that is shaped by the wave formula every frame. The object's height is the still water level. Boats and anything with a Floater ride it

FieldTypeRangeDefaultWhat it does
sizenumber10 to 30000200.0Size of the square of sea that is drawn, in metres (it is centred on the object; the sea seems to go on to the horizon when it is bigger than what the camera sees, or with fog)
resolutioninteger8 to 220180Squares along each side of the sea: more is smoother and slower (110 is good, over 160 costs frame rate)
wave_heightnumber0 to 121.2How high the biggest waves rise above still water, in metres (0.3 calm, 1 to 2 moderate, 4 and over a storm)
wavelengthnumber1 to 20018.0Distance from crest to crest of the main swell, in metres
wind_directionnumber-360 to 36030.0The way the wind blows from, in degrees round the vertical axis (the waves travel the other way)
choppinessnumber0 to 10.5How sharp the crests are: 0 rolling swell, 1 peaked, almost breaking
speednumber0 to 41.0How fast the waves travel (1 is natural)
wavesinteger3 to 86How many waves are added together: more is more natural
seedinteger0 to 1000007Another number gives another sea
colorlist of number[0.03, 0.22, 0.36]Colour of the deep water (the troughs and the open sea are shaded from it, the crests lighter)
shallow_colorlist of number[0.12, 0.62, 0.62]Colour of the shallows: where the water is under about 4 m deep over a floor (an island, a beach, a sand bank: any collider top under the water), it turns this colour
currentlist of number[0.0, 0.0]A steady current in metres per second along x and z: anything with a Floater is carried by it
opacitynumber0.1 to 10.921 = solid, lower = see-through
foamnumber0 to 10.5White foam on the tallest crests (0 = none)
materialstring""A material for the water ("" = the colour above)

OnBone

Goes with a bone of its parent's model: a helmet, a pack

FieldTypeRangeDefaultWhat it does
bonestring"Head"The node of the model it goes with (Head, mixamorig:Spine2)
atlist of number[0.0, 0.0, 0.0]Where it is on the model at rest, on the model's own axes and in its own units, as are turn and size
turnlist of number[0.0, 0.0, 0.0]How it is turned, in degrees
sizelist of number[1.0, 1.0, 1.0]How big it is

Parachute

On a child of a fighter: it is shown only while the fighter comes down at the start of a match, a parachute

FieldTypeRangeDefaultWhat it does
enabledbooleantrueSwitched on

PauseMenu

A pause screen: this object appears when action is pressed, the game stands still and the pointer is free. Pressing it again, or a button with the action resume, goes back

FieldTypeRangeDefaultWhat it does
actionstring"Cancel"The input action that opens and closes it (Cancel = Escape or the gamepad's East button)

RaceRival

A car the engine drives, for GameRules Race or Circuit

FieldTypeRangeDefaultWhat it does
speednumber1 to 12030.0Metres per second
nextnumber0.0(set by the game)
lapsnumber0.0(set by the game)
lanenumber-20 to 200.0On a circuit: where on the road it likes to drive, in metres off the middle (positive right)
skillnumber0.3 to 1.20.9On a circuit: how much of its top speed it uses in the bends. 1 drives at the limit and makes mistakes less often than it should
alongnumber0.0On a circuit: metres driven along the road since the start line, laps included (set by the game)
nownumber0.0On a circuit: how fast it is going now, metres per second (set by the game)

RaceTrack

Makes the Spline on this object a circuit: the road width wide along its closed curve, with shoulder of run-off each side and a wall beyond. Cars grip the road, slide on the shoulder and the grass, and scrape the wall; GameRules Circuit counts laps along it

FieldTypeRangeDefaultWhat it does
widthnumber4 to 6014.0Width of the road in metres
shouldernumber0 to 404.0Run-off between the road and the wall, in metres
wallbooleantrueA wall stands at the edge of the run-off: a car cannot pass it

RopeSim

A rope that hangs from the object, swings and drapes over colliders while the scene plays

FieldTypeRangeDefaultWhat it does
lengthnumber0.1 to 1003.0Length in metres
segmentsinteger2 to 20024Segments: more bends more smoothly and costs more
radiusnumber0.005 to 10.04Thickness in metres
pinstring"First"First | Ends | None: which ends are held (First hangs from the object)
stiffnessnumber0 to 11.0How stiff it is along its length
dampingnumber0 to 10.6The share of its speed it keeps each second
windlist of number[0.0, 0.0, 0.0]Wind velocity in metres per second
collidebooleantrueBounce off the colliders of the scene
colorlist of number[0.55, 0.38, 0.2]Colour of the rope
tearablebooleanfalseThe rope snaps when it is pulled too hard
tear_stretchnumber1.1 to 51.6How far it stretches (times its length) before it snaps
self_collidebooleanfalseThe rope is stopped by itself: coils rest on each other (slower)
massnumber0 to 10003.0Weight in kilograms, shared over its particles: what it weighs on a rigid body it rests on and how hard it knocks one it hits (0 = it pushes nothing)

SafeZone

A safe zone that closes in, in rounds: the circle holds still for wait seconds, closes over shrink seconds onto a smaller circle inside it, and so on. It starts around this object. Outside it every fighter loses hit points each second. A mesh on the object is stretched to the circle, so a tall see-through cylinder shows where it stands. Read radius, center, next_radius, round, closing and time_left for a HUD

FieldTypeRangeDefaultWhat it does
start_radiusnumber10 to 100001100.0Radius of the first circle, in metres
end_radiusnumber1 to 1000025.0Radius of the last circle, in metres
roundsinteger1 to 326How many times it closes in
waitnumber0 to 360060.0Seconds it holds still before each closing
shrinknumber0.1 to 360045.0Seconds each closing takes
damagenumber0 to 10002.0Hit points a second it takes from those outside, in the first round
damage_growthnumber0 to 10002.0How many more each round after that
seedinteger1Which circles it picks: the same seed closes the same way
enabledbooleantrueSwitched on
centerlist of number[0.0, 0.0]Middle of the circle now, x and z (set by the game)
radiusnumber0.0Radius of the circle now (set by the game)
next_centerlist of number[0.0, 0.0]Middle of the circle it will close to (set by the game)
next_radiusnumber0.0Radius of the circle it will close to (set by the game)
roundinteger0The round it is on, from 1 (set by the game)
closingbooleanfalseClosing now, not holding still (set by the game)
time_leftnumber0.0Seconds until this wait or closing ends (set by the game)
warn_soundstring""Sound file everyone hears when the circle starts to close

SceneLook

This scene's own sky, light and finish, over the project's: the patch of project settings as JSON (lighting, post)

FieldTypeRangeDefaultWhat it does
patchstring""Changes to the scene's sky, fog and light that the game applies.

Shooter

Fires projectiles when the input action is pressed (held, with hold): little balls that fly straight, hurt the first Damageable they meet (not the shooter), and vanish on a wall, on the ground or after lifetime. aim Facing shoots the way the object faces; Mouse shoots towards the pointer on the ground (and turns the object to face it): the top-down shooter; Camera shoots at what the middle of the screen shows: a third-person shooter; Point shoots at aim_at. magazine above 0 makes it a gun that runs out: ammo rounds now, reserve carried, reloaded by the reload_action or when it runs dry. With use_input off nothing but trigger fires it: a bot or a script. No script needed

FieldTypeRangeDefaultWhat it does
actionstring"Fire"The input action that fires (Fire = left mouse button, Enter or the gamepad's West button)
aimstring"Facing"Facing | Mouse | Camera | Point: the way it shoots
damagenumber0 to 1000015.0Hit points taken off what a projectile hits
speednumber1 to 200028.0Projectile speed in metres per second
cooldownnumber0.02 to 300.18Seconds between shots
lifetimenumber0.1 to 602.0Seconds a projectile flies before it vanishes
radiusnumber0.02 to 30.14Size of a projectile (radius, metres)
offsetlist of number[0.0, 1.0, -0.7]Where projectiles start, in metres from the object's origin (x right, y up, z forward is -z)
materialstring""A material for the projectile ("" = plain)
holdbooleantrueKeep firing while the action is held
magazineinteger0 to 10000Rounds a full magazine holds (0 = it never runs out)
ammointeger0 to 10000Rounds in the magazine now
reserveinteger0 to 1000000Rounds carried, to reload from
reload_secondsnumber0 to 302.0Seconds a reload takes
reload_actionstring"Reload"The input action that reloads (Reload = R or the gamepad's North button)
reloadingnumber0.0Seconds of a reload still to go (set by the game)
spreadnumber0 to 450.0How far a shot may stray from the aim, in degrees
use_inputbooleantrueThe input action fires it (off: only trigger does: a bot or a script)
triggerbooleanfalseHeld by a bot or a script to fire, with use_input off
aim_atlist of number[0.0, 0.0, 0.0]The world point it shoots at when aim is Point
recoilnumber0 to 200.0How far each shot kicks a player's view up, in degrees
soundstring""Sound file of a shot, heard from where it is fired
reload_soundstring""Sound file of a reload
hit_soundstring""Sound file only the one firing hears when a shot hits someone
modelstring""The model of the gun in hand (set by the game)
shortbooleanfalseThe gun in hand is a short one (set by the game)
griplist of number[0.0, 0.0, 0.0]Where the right wrist goes on the gun in hand (set by the game)
forelist of number[0.0, 0.0, 0.0]Where the left wrist goes on it (set by the game)
buttlist of number[0.0, 0.0, 0.0]The point of it that sits in the shoulder (set by the game)
muzzlelist of number[0.0, 0.0, 0.0]The end of its barrel (set by the game)
raillist of number[0.0, 0.0, 0.0]Where a scope sits on it (set by the game)
held_sizenumber0.0How big it is drawn in the hands (set by the game)
aim_pitchnumber0.0Degrees above level the gun points (set by the game)
dropnumber0 to 1000.0How fast its shots fall, in metres per second each second: 9.8 is gravity
zoomnumber1.0How much a scope on it brings things closer while aiming (set by the game)
quietbooleanfalseA silencer is on it: no flash, no streak, and it is heard from close by only (set by the game)
hands_offnumber0.0Seconds the hands are busy with something else, with the gun out of them (set by the game)
crouchedbooleanfalseWhoever has it is crouching (set by the game)
lyingbooleanfalseWhoever has it is lying on their front (set by the game)
switchingnumber0.0Seconds of putting this gun away for another still to go: it cannot fire meanwhile (set by the game)

SmokeSim

Smoke or fire that rises from the object (it sits at the bottom middle of the box), swirls, is carried by wind and goes round solid objects while the scene plays

FieldTypeRangeDefaultWhat it does
sizelist of number[2.0, 4.0, 2.0]Size of the box the air is simulated in (the smoke thins out and leaves through its sides and top)
resolutioninteger8 to 4824Cells along the longest side of the box: more is finer and slower
modestring"Smoke"Smoke | Fire: grey smoke, or flames (hot cells glow white-yellow to red, what cools becomes smoke)
strengthnumber0 to 101.0How much smoke is made
source_radiusnumber0.05 to 30.25Radius of the source in metres
buoyancynumber0 to 4016.0How strongly heat lifts the air
turbulencenumber0 to 30.8Swirl: 0 = smooth, higher = turbulent curls
dissipationnumber0 to 20.2How fast the smoke thins out, per second
windlist of number[0.0, 0.0, 0.0]Wind velocity in metres per second
colorlist of number[0.35, 0.35, 0.37]Colour of the smoke
opacitynumber0.05 to 10.7How thick the smoke looks
collidebooleantrueFlow round the box, sphere and capsule colliders of the scene

SoftBodySim

Makes the object's mesh a soft jelly that wobbles, squashes and springs back while the scene plays

FieldTypeRangeDefaultWhat it does
stiffnessnumber0.02 to 10.25How hard it pulls back to its shape (low = wobbly, 1 = rigid)
dampingnumber0 to 10.6The share of its speed it keeps each second
resolutioninteger3 to 95Points along each side of the lattice that holds the shape: more is smoother and slower
collidebooleantrueBounce off the colliders of the scene
massnumber0 to 10005.0Weight in kilograms, shared over its particles: what it weighs on a rigid body it rests on and how hard it knocks one it hits (0 = it pushes nothing)

Spawner

Spawns copies of a template object while the game plays: waves of enemies, falling blocks, pickups. The template (any object, with its components and children, e.g. an enemy with EnemyAI and Damageable) is switched off at the start and copied; each copy appears around this object (in a ring of radius, or anywhere inside it) at interval seconds. With waves on, a wave is wave_size copies (wave_growth more each wave); the next wave starts wave_pause seconds after every copy of the last one is dead; wave, alive and total can be read from a script for a HUD. Copies that died are removed

FieldTypeRangeDefaultWhat it does
templatestring""The name of the object to copy
intervalnumber0.05 to 6001.5Seconds between one copy and the next
wavesbooleantrueSpawn in waves (off: a steady stream)
wave_sizenumber1 to 5003.0Waves: copies in the first wave
wave_growthnumber0 to 1002.0Waves: how many more copies each wave has than the one before
wave_pausenumber0 to 1203.0Waves: seconds of calm after a wave is cleared before the next starts
max_wavesnumber0 to 10000.0Waves: stop after this many waves (0 = never)
max_alivenumber1 to 50040.0Stream: the most copies alive at once
radiusnumber0 to 50012.0How far from this object copies appear, in metres
ringbooleantrueCopies appear on the ring of radius (off: anywhere inside it)
first_delaynumber0 to 1202.0Seconds before the first copy
enabledbooleantrueSwitched on
wavenumber0.0The wave it is on (set by the game)
alivenumber0.0Copies alive now (set by the game)
totalnumber0.0Copies made so far (set by the game)

SprayCan

A can of spray paint, no script needed: while the input action is held it paints on the wall, the ground or whatever the middle of the screen shows (a third-person or first-person camera) within reach, as marks that stay (the oldest of 800 go first). The colour action changes the colour, a round of eight. Put it on the player

FieldTypeRangeDefaultWhat it does
actionstring"Fire"The input action that sprays (Fire = left mouse button, Enter)
colour_actionstring"Reload"The input action that changes the colour (Reload = R)
sizenumber0.1 to 50.5How wide one spray is, in metres
reachnumber0.5 to 10014.0How far from the can it reaches, in metres
intervalnumber0.01 to 10.03Seconds between one mark and the next while it is held
swatchinteger0Which of the eight colours it has now (set by the game)

ThirdPersonCamera

Third-person camera: put it on the Camera object. It follows a target from behind and lets the player orbit it (hold the right mouse button and drag, or the right stick, or Q and E to turn, R and F to look up and down, the mouse wheel to zoom), and it comes closer when a wall is in the way so the view is never blocked. Do not combine with CameraFollow on the same camera

FieldTypeRangeDefaultWhat it does
targetstring""The name of the object to follow (the player; if it is only a holder, the child that walks)
heightnumber0 to 101.6How far above the target's origin the camera looks and circles (about head height; characters you add stand with their origin at their feet)
distancenumber0.5 to 605.0How far behind the target it is, in metres (the wheel changes it between min_distance and max_distance)
min_distancenumber0.3 to 301.5Closest it can zoom
max_distancenumber1 to 10012.0Farthest it can zoom
shouldernumber-3 to 30.0Sideways offset in metres: positive looks over the right shoulder
yawnumber-360 to 3600.0Turn round the target in degrees: 0 is behind a target that faces -Z, 90 from its right
pitchnumber-89 to 8915.0How far it looks down on the target, in degrees
min_pitchnumber-89 to 89-20.0Lowest it can go (negative looks up from below)
max_pitchnumber-89 to 8970.0Highest it can go
sensitivitynumber0.01 to 20.25Degrees turned for each pixel the mouse moves
smoothingnumber0 to 6010.0How quickly it follows (0 = at once)
collidebooleantrueCome closer when a box, sphere or capsule collider is between the camera and the target
enabledbooleantrueOff = the camera is left alone (a cutscene)
first_personbooleanfalseFirst person: the camera is at the target's eye (height), looks where the mouse turns it and has no distance, so what it carries (a hand, a gun, a spray can: children of the camera) is seen in front of it. Give the target no body of its own (or hide it)
mouse_lookbooleanfalseThe mouse turns the camera with no button held, and the pointer is hidden and held in the window while the game plays (Escape gives it back): a shooter
aim_actionstring"Aim"The input action that aims: the view comes in over the shoulder and shots go straighter (Aim = right mouse button or the left trigger)
aim_distancenumber0.3 to 201.7How far back it stands while aiming, in metres
aim_viewnumber0.1 to 10.7How wide the view is while aiming, as a share of the camera's own

Vehicle

A car: someone walks up and presses take_action to drive it, and again to get out. It follows the land and stops against what is solid

FieldTypeRangeDefaultWhat it does
max_speednumber1 to 12024.0Top speed in metres per second
reverse_speednumber0.5 to 606.0Top speed backwards
accelerationnumber0.5 to 608.0How fast it speeds up, in metres per second each second
brakenumber0.5 to 10018.0How fast the brakes slow it
dragnumber0 to 302.5How fast it slows with nothing pressed
turn_ratenumber5 to 36075.0How fast it can turn at best, in degrees per second
lengthnumber0.5 to 304.2How long it is, in metres
enter_radiusnumber0.5 to 303.5How close someone has to be to get in
seat_heightnumber-5 to 5-0.5How far above the car's base the driver's feet are: below it, a standing figure sits inside
camera_distancenumber1 to 1008.0How far back a third-person camera stands while it is driven
take_actionstring"Take"The input action that gets in and out (Take = E or the gamepad's D-pad up)
crash_soundstring""Sound file of running into something
starts_withstring""The object at the wheel when the game starts: a race has no walk to the car
driverstring""Who is driving it (set by the game)
speednumber0.0Metres per second, below 0 going backwards (set by the game)
nearbooleanfalseSomeone could get in from where they stand (set by the game)
toughnessnumber0 to 100000400.0What it takes before it burns: shots, blasts and hard crashes all count. It smokes when badly hurt, burns, then blows up. 0 = nothing hurts it
harmnumber0.0The harm it has taken (set by the game)
burningnumber0.0Seconds it has been on fire (set by the game)
wreckedbooleanfalseIt has blown up, and goes no more (set by the game)
rangenumber0 to 1e+060.0How far a full tank takes it, in metres: it burns fuel as it goes, rolls to a stop when the tank is empty, and a Jerry Can fills it again. 0 = it never runs out
fuelnumber0 to 11.0How full its tank is, 0 to 1
gripnumber0 to 40.0Tyre grip. 0 = the arcade car that always goes where its nose points; above 0 the car has weight: it slides sideways when it turns too hard for its speed, drifts on the handbrake (Jump) and grips less off the road. 1 is a road car, 2 sticks like racing slicks
drift_gripnumber0.1 to 41.4Grip left while the handbrake is held or the tyres are sliding: lower drifts more
gearsinteger1 to 106Gears: the engine's note climbs through each and drops at the change
boost_powernumber0 to 30.0Nitro: extra push while Sprint (Shift) is held and the tank has some; 0 = no nitro. 1 doubles the acceleration
boost_secsnumber0.5 to 303.5Seconds a full nitro tank lasts
slidenumber0.0Sideways speed in metres per second, positive to the right (set by the game)
gearinteger1The gear now (set by the game)
rpmnumber0.0How hard the engine turns, 0 to 1 within the gear (set by the game)
boostnumber0.0How much nitro is left, 0 to 1; drifting fills it (set by the game)
boostingbooleanfalseNitro is burning (set by the game)
driftingbooleanfalseThe tyres are sliding hard enough to smoke (set by the game)
steernumber0.0The wheel: -1 left, 1 right, eased (set by the game)

Wander

Walks about by itself near where it stands, and stops a while now and then

FieldTypeRangeDefaultWhat it does
radiusnumber0.5 to 50012.0How far from where it started it goes, in metres
speednumber0.1 to 201.2Metres per second
pausenumber0 to 604.0Seconds it stands still between walks, at most

Wheel

A wheel of the car named car: it sits at offset (right, up, forward in the car's own frame), rolls as the car goes (radius metres) and turns up to steer degrees with the steering. Put the wheel's mesh on this object with its middle at the hub

FieldTypeRangeDefaultWhat it does
carstring""The name of the object with the Vehicle
offsetlist of number[0.9, 0.35, -1.4]Where the hub is, in the car's own frame: right, up, forward
radiusnumber0.05 to 30.35Radius of the tyre in metres: it sets how fast it turns
steernumber0 to 600.0How far it turns with the steering, in degrees: the front wheels, 0 for the back
leftbooleanfalseA wheel on the left: its mesh is turned half way round so its outside faces out
spinnumber0.0How far round it has rolled, in degrees (set by the game)

Wind

Bends the scene's Grass and each MeshRenderer with a sway

FieldTypeRangeDefaultWhat it does
towardnumber0 to 36060.0Compass bearing it blows towards: 0 north (-z), 90 east (+x)
strengthnumber0 to 20.50 still air, 0.5 a breeze, 1 strong, 2 a storm
enabledbooleantrueLet wind move the grass and trees.

Other

Character CharacterState MoveIntent Name Projectile RigidbodyOptions ScriptParams Terrain Transform WorldText

Character

Kinematic character controller parameters

FieldTypeRangeDefaultWhat it does
speednumberHow fast the character walks.
jump_speednumberHow fast the character leaves the ground in a jump.
skinnumber0 to 1.79769e+308Collision skin in world units; keep small
use_inputbooleanWalk and jump with the Horizontal / Jump input actions

CharacterState

Character controller runtime state (velocity, grounding)

FieldTypeRangeDefaultWhat it does
velocitylist of numberHow fast the character moves now.
groundedbooleanWhether the character stands on something.

MoveIntent

Per-tick movement intent for a character (-1..1 x, jump)

FieldTypeRangeDefaultWhat it does
xnumber-1 to 1Which way the character is asked to go, left to right.
jumpbooleanWhether the character is asked to jump.

Name

Display name shown in the hierarchy

FieldTypeRangeDefaultWhat it does
namestringThe object's name.

Projectile

A projectile in flight (made by a Shooter, or put in a scene yourself): it flies with its velocity, hurts the first Damageable it meets that is not its owner and vanishes there, on a wall, or when its life runs out

FieldTypeRangeDefaultWhat it does
velocitylist of number[0.0, 0.0, -20.0]Velocity in metres per second
damagenumber0 to 1000015.0Hit points taken off what it hits
lifenumber0.05 to 1202.0Seconds left to fly
radiusnumber0.02 to 30.14How close to something it has to be to hit it (metres)
ownerstring""The name of what fired it (it cannot hurt that)
dropnumber0 to 1000.0How fast it falls, in metres per second each second

RigidbodyOptions

Rigidbody options: drag, gravity, freeze axes, continuous collision detection, sleeping, initial velocity

FieldTypeRangeDefaultWhat it does
dragnumber0 to 1000.0Linear drag: slows movement down (0 = none)
angular_dragnumber0 to 1000.05Angular drag: slows spinning down
use_gravitybooleantrueGravity pulls on this body
freeze_pos_xbooleanfalseFreeze movement along X
freeze_pos_ybooleanfalseFreeze movement along Y
freeze_pos_zbooleanfalseFreeze movement along Z
freeze_rot_xbooleanfalseFreeze turning about X
freeze_rot_ybooleanfalseFreeze turning about Y
freeze_rot_zbooleanfalseFreeze turning about Z
continuousbooleanfalseContinuous collision detection: fast bodies cannot tunnel through thin colliders
can_sleepbooleantrueThe body may fall asleep when it comes to rest
initial_velocitylist of number[0.0, 0.0, 0.0]Velocity the body starts Play with (units per second)

ScriptParams

Values of the attached script's exposed parameters, as a JSON object string

FieldTypeRangeDefaultWhat it does
valuesstringThe values set on the script's fields.

Terrain

Side size, vertices per side, packed heights (empty = flat) and a material path

FieldTypeRangeDefaultWhat it does
sizenumberHow wide and long the ground is, in metres.
resolutionintegerHow many points the ground has across; more is finer.
heightsstringThe height of the ground at each point (edited with the sculpt tools).
materialstringThe material the ground is painted with.
layer1stringThe first paint layer's picture.
layer2stringThe second paint layer's picture.
layer3stringThe third paint layer's picture.
splatstringHow much of each paint layer is at each point (edited with the paint tools).

Transform

2D world transform: position in world units, rotation in radians

FieldTypeRangeDefaultWhat it does
positionlist of number[0.0, 0.0]Where it is, across and up.
rotationnumber0.0How far it is turned, in radians.

WorldText

World text: letters at this object's position, facing the camera, smaller with distance like the objects around them (a name tag, a damage number). Hidden behind solid objects unless occlude is off. Scripts: obj.Set("WorldText", "text", "...")

FieldTypeRangeDefaultWhat it does
textstringThe words drawn in the scene.
sizenumber0.01 to 1.79769e+308Height of the text in world units (the em height; capital letters are about 0.7 of it)
colorlist of numberText colour (r, g, b, a)
max_distancenumber0 to 1.79769e+308Hidden when the camera is further away than this (0 = always shown)
outlinebooleanA dark edge behind the letters so they read on any background
fontstringA project font (.ttf / .otf); empty = the game's default
occludebooleanHidden while a solid object is between the camera and the text (not hidden by the object it belongs to)