Scene tab
The Scene tab holds settings for the whole scene you are editing, plus the project’s variables and touch controls.
At the top: the scene you are editing (tap to switch — see Scenes), a ★ Start scene badge if the game starts here, and ⚙ Project to open Project settings.
The cards below can be folded by tapping their title.


Scene
Name — the scene’s name, used by the Go to scene action.
Environment
| Field | What it does |
|---|---|
| Background | Color (a plain color), Sky image (360°) or Sky (sun and clouds). |
| Color | The background color. |
| Ambient light | Color of the soft light that reaches everything, even in shadow. |
| Ambient strength | How strong it is (0–2). Lower it for a darker, moodier scene. |
| Fog | Fades far things into the fog color. Also hides the edge of big worlds and helps performance. |
| Fog type | Linear: clear until Fog starts at, solid at Fog fully at. Thick (exponential): gets thicker with distance, set by Fog thickness (about 0.01 is a light haze, 0.1 is dense). Ground (height): like thick, but densest near the ground and thinner higher up, for morning mist in a valley (below). |
| Fog color / starts at / fully at | Color, the distance where fog begins, and the distance where it is solid (Linear only). |
| Tone mapping | Squeezes bright light into a film-like picture: None, ACES (film), Neutral or AgX. Pick one and an Exposure slider appears (lower = darker). |
| Screen effects | Glow, depth of field, vignette and the rest moved to Post-processing: a profile and a volume. |
Sky image
Choose Background → Sky image (360°) (or tap the sky image) and pick one of:
- Free skies… — day, morning, night, space, alien (by Kenney, free).
- Import a 360° image… — a 2:1 panorama (equirectangular) PNG, JPG or WebP, or a high-range .hdr or .exr panorama (from Poly Haven, say). An HDR sky has real bright sun and sky values, so it lights the scene and reflects in shiny materials much better than a plain picture; use Tone mapping (below) so the bright parts don't clip. The Files tab shows a toned-down preview of it.
- One of your project’s images.

Then:
| Field | What it does |
|---|---|
| Sky image | Change the image. |
| Turn sky | Rotate the panorama (0–360°) to put the sun where you want it. |
| Sky brightness | 1 = the image as it is. |
| Light with sky | Objects with the Realistic material get reflections and soft light from the sky. |
| Loading color | Shown until the sky has loaded. |
Sky (sun and clouds)
A sky drawn live, with a sun and clouds, and it lights the scene. No image needed.
| Field | What it does |
|---|---|
| Look | Ready-made skies: Day, Clear noon, Sunset, Ocean dusk (a low sun over the water) and Overcast. It sets the sun, haze and cloud sliders below; change any of them and the Look reads Custom. |
| Sun height / Sun direction | Where the sun is: degrees above the horizon (0–90) and around you. Low gives a sunset. The sky does not follow your Sun light object: turn that light to match (a new scene's Sun points at height 41, direction 42). |
| Sun size | The size of the sun's disc. |
| Haze | More haze whitens the sky and warms the horizon. |
| Sky blue | How blue the clear sky is. |
| Clouds / Cloud thickness / Cloud height | How much of the sky is covered, how dense the clouds are, and how high they drift. |
| Light with sky | The sky lights objects with the Realistic material (reflections and soft light). Sky light sets how strongly. |
| Sun light / Sun light strength | Adds a sun light (no shadows) from where the sky's sun is: it warms toward sunset and dims as the sun sets. Off by default, because the scene already has its own Sun light. |
Choosing it the first time also turns on Tone mapping: ACES, which a bright sky needs to look right.
Ground fog
With Fog type: Ground (height), the fog lies low like mist. Fog level is the height (world Y, in meters) where it has its Fog thickness; above that it thins out, faster the higher Fog thinning is (0.15 clears about every 10 m of height, 1 is a thin layer). Below the level it gets thicker still. Looking down through it is thicker than looking along it, so hills poke out above it. Put the level a little above your ground to make a valley fill with mist.
It works on everything lit, the water and particles, in the game and in the editor view. It doesn't tint the sky color (the sky is not fogged), so match the Fog color to the horizon.
Scene variables
Values that exist only in this scene and reset every time the scene starts — e.g. a level timer. See Variables.
Global variables
Values shared by all scenes and kept when you change scene — e.g. Score, Lives. New projects have a Score variable. Add with + Add variable, choosing Number, Text or Yes / No.
Touch controls
The on-screen controls shown while playing (also in Project settings):
| Field | What it does |
|---|---|
| Joystick | Show the virtual joystick. It drives the Platformer, Top-down and Car behaviors and the joystickX / joystickY values. |
| Joystick side | Left or Right. The buttons go on the other side. |
| Move | The keys for Up, Down, Left and Right: the joystick's keyboard side. W A S D and the arrow keys unless you change them. |
| Buttons | Round on-screen buttons. Each has a Name used by events and scripts (e.g. jump), a Label shown on it (e.g. A), a Color, the Keys and Gamepad buttons that press it, and On screen (off = a keyboard / gamepad only button, e.g. pause on Esc). Add button adds one; 🗑 deletes it. Events can hide a button until it's useful and change its label with Show, Hide and Set label under Input — the same names as for UI buttons — see getting into a boat. |
New projects have one button, jump, labelled A, pressed by Space, J and gamepad A — your events make the player jump with it: On button jump pressed → Simulate control Jump. WASD or the arrow keys and the left stick are the joystick (joystickX, joystickY in events, input.axis in scripts).
Keys: tap + Key, then press the key on your keyboard (or pick one from the list on a phone); ✕ removes one. A button can have several keys, and the same key can press several buttons.
Gamepad: tap + Button, then press the button on a connected controller (or pick one from the list); ✕ removes one. Like keys, a button can have several (e.g. dash on both RB and RT), or none.
A new button gets keys that suit its name — use / interact: E and X, fire / shoot: F and RB, run / sprint: Shift and LB, pause: Esc and Start — or the next free key (J, K, L…). Change them any time.

Gamepads and button prompts
Gamepads work in a browser and in exported games: the left stick or d-pad moves, and each button's Gamepad buttons press it. Every gamepad button also has its own name for Key is held / On key pressed and scripts: PadA, PadB, PadX, PadY, PadLB, PadRB, PadLT, PadRT, PadStart, PadBack, PadLS, PadRS. The names are by position, the same on every controller: PadA is the bottom face button (✕ on a PlayStation pad, B on a Switch pad). The on-screen controls hide while a gamepad is used and come back on the next touch. The right stick turns a camera with Mouse look.
Button prompts that follow the player's controls: the game knows what was used last, gamepad, keyboard (keys or the mouse) or touch, and it switches back and forth as the player changes. In events, On input device changed fires when it switches and Input device is checks it; inputdevice() is its name in expressions. In scripts, game.input.device and game.input.deviceChanged.
| Condition | Action |
|---|---|
The simplest prompt is <prompt=jump> in any UI text, e.g. Press <prompt=jump> to jump. It draws the button's key as a key cap (Space), its gamepad button as it looks on the controller in the player's hands, or its on-screen label on a touch screen, and changes by itself when the player switches device, picks up another controller or rebinds the button. <prompt=move> shows WASD or the left stick. In expressions, prompt("jump") is the same as text ("Space", "A"). |
| Controller | Bottom, right, left, top | Bumpers, triggers | Start, Back |
|---|---|---|---|
| Xbox (and any other) | A B X Y, in green, red, blue, yellow | LB RB, LT RT | Start, Back |
| PlayStation | ✕ ○ □ △ in their colours | L1 R1, L2 R2 | Options, Create |
| Switch | B A Y X | L R, ZL ZR | +, − |
| Steam Deck | A B X Y | L1 R1, L2 R2 | ☰, ⧉ |
The game tells them apart by the controller's name. On a Steam Deck every controller goes through Steam, so there it shows the Deck's own. Set gamepad prompt style (under Input) picks one for good, e.g. from an options menu, and auto goes back; padstyle() in expressions and input.padStyle / input.setPadStyle('playstation') in scripts.
For anything else, use the device itself:
| Condition | Action |
|---|---|
| On input device changed · Input device is gamepad | Set HintText label to "Press A to jump" |
| On input device changed · Input device is keyboard | Set HintText label to "Press Space to jump" |
Run the same actions in On start of scene too, so the prompt is right before the first switch.
Players' own controls (rebinding)
A settings menu can let players choose their own keys and gamepad buttons, as Unity's Input System rebinding does:
| Event | What it does |
|---|---|
| Rebind control (action) | Waits for the player to press the new key for a button (jump) or a Move direction (moveUp, moveDown, moveLeft, moveRight). Device: in use (what the player is using now), keyboard or gamepad. Esc cancels. |
| Is waiting for a key (condition) | While it waits: show "Press a key…". |
| On control rebound ⚡ (condition) | The player chose a new key. |
| Stop waiting for a key (action) | Cancels it. |
| Reset controls (action) | Back to the game's own keys: one button, or all when left empty. |
A typical row in a settings menu: a Button whose label is Jump <prompt=jump>, and the event On clicked JumpButton → Rebind control jump. While it waits the prompt shows …, then the new key.
- If another button had that key, the two swap, so one key never does two things.
- A player's choices are kept on their device and apply every time the game starts.
- A rebound button gets just the new key or gamepad button, even if it had several.
- In scripts:
await input.rebind('jump')(true when rebound),input.rebinding,input.cancelRebind(),input.resetBindings(),input.bindingOf('jump')({ keys, pads }),input.setBinding('jump', { keys: ['KeyK'], pads: ['PadA', 'PadY'] }),input.prompt('jump').