Documentation

Unity Spark

Open Unity Spark

Unity Spark

Tweaks window reference

Explore the controls in the Tweaks window, both docked and over the game, to tune your game in Play mode.
Read time 3 minutesLast updated 3 hours ago

The Tweaks window holds the custom controls that the assistant creates for your project, such as a slider for jump height or a toggle for god mode. Each tweak appears as its own section, headed by the tweak's name. The default layouts include the Tweaks window.
To reopen the Tweaks window after you close it:
  1. In any window group, select Add window (+).
  2. Select Tweaks.
For instructions, refer to Create and organize tweaks and Use tweaks in Play mode.

Tweaks window controls

When the window has no tweaks, it displays
No tweaks yet
and a reminder to ask the assistant for one.
Each tweak's header has the following controls.

Control

Description

Tweak nameExpands or collapses the tweak when you select the name. When the window has more than one tweak, drag the name up or down to reorder the tweaks.
Pin (pin icon)Pins the tweak so that the tweak stays on screen while the game runs. Select Pin again to unpin the tweak. A pinned tweak shows a filled pin icon, and its tooltip reads
Pinned. Stays on screen while the game runs.
By default, Unity Spark pins no tweaks.
Actions (⋮)Opens the tweak's actions menu. For more information, refer to Tweak actions menu.
Under the header, the tweak displays the controls that the assistant created for it, such as a slider, a toggle, or a color picker.

Tweak actions menu

Select ⋮ on a tweak to display the following options.

Option

Description

Move UpMoves the tweak one place up in the window. Unavailable for the first tweak.
Move DownMoves the tweak one place down in the window. Unavailable for the last tweak.
RemoveDeletes the tweak and its saved values. Unity Spark asks you to confirm with the Remove this tweak? dialog. Select Remove to delete the tweak, or Cancel to keep it. You can't undo this action, but you can ask the assistant to create the tweak again.

Tweaks window over the game in Play mode

When the Scene view stays docked during Play mode, the Tweaks window stays in place. When you start Play mode yourself with the Scene view expanded to fill the workspace, your pinned tweaks appear in a floating Tweaks window over the game. Unpinned tweaks don't appear in the floating window, and if no tweaks are pinned, the floating window doesn't appear. You can drag the window to move it. When the assistant runs a playtest, the floating window doesn't appear.
The floating window has the following controls.

Control

Description

LiveDisplays a badge that marks the values as live. Hover over or focus the badge to read what happens to your changes. For information about which changes Unity Spark keeps, refer to Keep Play mode changes.
Pin (pin icon)Unpins the tweak and removes it from the floating window.
Hide tweaksCloses the floating window for the rest of this Play mode session. Your tweaks stay pinned.
Under the title, the floating window displays the reminder
Changes affect the running game. Most revert when you stop.
In the floating window, you can't drag tweaks to reorder them, and the actions menu (⋮) isn't available.

Additional resources