Controls

Controls are actions performed by the player to dictate what their character does in the game world. These controls allow players to open menus, place and/or destroy blocks, use abilities, and otherwise serve as the interface by which players interact with the game mechanics. Most of the controls consist of simple keypresses (also known as "hot-keys"), some are only mouse clicks or movements, while others consist of a combination of keystrokes and mouse clicks/movement.

TUG can be played in different modes: Survival and Creative. Since Creative mode permits a greater control over the game environment, there are subsequently more controls available to the user in that mode. Therefore this page will describe the controls for the different modes separately.

Most of the bindings can be changed in-game via Options > Input, however it's also possible to manually alter the  file inside the TUG data folders. The following lists describe the controls at their default settings.

(See Commands for additional ways in which to affect changes in the game.)

Definitions
Some (hopefully clarifying) definitions of terms used in the tables below:
 * targeted : the environment object (when the inventory window is closed) or the inventory space (when the inventory window is open) that the mouse cursor is hovering over; when targeted most objects in the environment will be identified with a pop-up "tooltip" indicator located just above the stat indicator bars (Survival mode). You may or may not be able to interact with the object depending on what the hand space contains.
 * drop : putting an object or a stack into the environment in its "item" or "clump" form.
 * place : putting an object into the environment in its "block" form. Many objects besides blocks, though not all, can be placed. They will not appear as blocks in the environment, of course, however they will "attach" themselves to other objects in a similar fashion, rather than being "loose" and (possibly) rolling around as they do in their "item" form.
 * swap : all inventory and cursor spaces can be considered to always contain something, whether it is a single, non-stackable object (a weapon for example), a stack of blocks or other items (apples, vines), or even an "empty stack"; therefore when swapping the contents of spaces, you may be swapping an empty stack in the cursor space with an object in the hand space ("picking up"), or swapping a stack of blocks in the cursor space with an empty inventory space ("putting down").

Survival Mode
When the inventory window is open in Survival mode, an inventory grid is shown at the top with room for 16 stacks of items. Below that are the three stat level indicators and below that is a "hot-bar" with four spaces plus a fifth "hand" space for the item currently held by the Seed. The stat indicators and hot-bar are visible whether or not the inventory window is open. When the inventory is open moving the mouse moves a cursor that allows the player to pick up and place items by left-clicking on them. In this way the contents of the inventory and hot-bar spaces can be rearranged. Right-clicking on an inventory or hot-bar space while no item is being held will cause the contents of that space and the contents of the hand to be swapped. When the inventory is closed this grid is not visible and no mouse cursor is available. Mouse movements while the inventory is closed perform the functions listed below in the View section.

Action
These actions are performed while the Inventory window is closed. Most of these actions are performed with, or by, the object in the Hand. 1 If the targeted object is an inventory object (an object which can be placed within the player's inventory space and carried) it will be "picked up", otherwise the action performed with be to "use" the object in the hand space on the targeted object (unless the object in the hand space is a food item, in which case it will be eaten). 2 When "using" an object the target may or may not be affected; some examples: using an empty hand on most environmental objects will not do anything (although some objects such as small plants can be "broken"); using a torch simply waves it about and doesn't affect any targeted objects; using a food object consumes the food (and obviously doesn't affect the target); using a knife on anything but a critter doesn't do anything, and even prevents you from picking up many objects! 3 When dropping, placing or eating items (any action in which the contents of the hand space are diminished) if the hand space is "emptied" (the last item of a stack is dropped/placed/eaten) the hand will automagically be "re-filled" if the inventory contains more stacks of the same item. 4 A throwable weapon must be in the Hand to use Throw Mode.

Inventory
These actions are performed while the inventory window is open. 1 Subsequent clicks transfer additional items. However, if the cursor stack contains items different from the targeted space, the stacks are swapped.

Creative Mode
The Creative mode interface shares much of the same controls as the Survival mode interface, however the appearance of the interface has significant differences. Unless otherwise stated below the controls listed above in Survival mode are also available in Creative mode. When the inventory window is open, all objects that are currently available are listed in a much larger, scrollable grid. In addition, instead of only five hot-bar spaces there are multiple hot-bars available, each with nine spaces visible on-screen at once.

The most significant difference between the Survival interface and the Creative interface is the Toolbar just above and to the right of the inventory hot-bar. This toolbar consists of six tools that allow the user to control how blocks and objects are manipulated.

Creative Mode Tools

 * Terrain Tool : In this mode, you can place/remove terrain block as usual, and it will not affect game objects. You can only select this mode if you have a terrain block selected to use.
 * Selection Tool : You can imagine this tool as an "eyedropper" that picks up whatever you select. If it's an object, it picks it up, and switches to the Move Tool. If it's terrain, it puts that material on the hot bar and switches to the Terrain Tool. The game also enters this mode by default when you select an empty hot bar slot.
 * Move Tool : This is the default tool when you are holding an object to place. You can move the object around by moving your character around. Also, if you hold the Right Mouse Button, and move the mouse up and down it will push the object further away or closer to you to help with positioning. Left Mouse Button places the object. This mode is not selectable when using terrain blocks.
 * Rotate Tool : Moving the mouse rotates the object (specifically around the X and Z axis). If you hold the Right Mouse Button, moving the mouse rotates about the Y axis. Left Mouse Button places the object. This mode is not selectable when using terrain blocks.
 * Scale Tool : If the object is scalable, moving the mouse forward and backward scales the object up and down. Left Mouse Button places the object. This mode is not selectable when using terrain blocks.
 * Delete Tool : Left Mouse Button deletes objects in the world. It does not pick them up, it just destroys them. The Delete Tool will not affect terrain.

Placement
Obsolete Controls

Miscellaneous
<.includeonly>

a transcription of the input settings screen from v0.6.5:

Move Forward &mdash; W  Move Backward &mdash; S   Strafe Left &mdash; A   Strafe Right &mdash; D   Jump &mdash; SPACE Crouch &mdash; C  Pick Up/Use &mdash; LCLICK Place/Interact &mdash; RCLICK Toggle Stance &mdash; T  Inventory &mdash; E   Craft &mdash; G   Put Away Hand Item &mdash; H   Drop Item &mdash; Q   Chat Window &mdash; ENTER Toggle Camera Mode &mdash; X  Select Next Material &mdash; MOUSEWHEELDOWN Select Prev Material &mdash; MOUSEWHEELUP Select Next Block Size &mdash; SHIFT-MOUSEWHEELDOWN Select Prev Block Size &mdash; SHIFT-MOUSEWHEELUP
 * Movement
 * Actions

Select Terrain Tool &mdash; 1 Select Selection Tool &mdash; 2 Select Move Tool &mdash; 3 Select Rotate Tool &mdash; 4 Select Scale Tool &mdash; 5 Select Delete Tool &mdash; 6 Prev Control Tool &mdash; CTRL-MOUSEWHEELUP Next Control Tool &mdash; CTRL-MOUSEWHEELDOWN Toggle Placement Mode &mdash; Z Next Hotbar Page &mdash; SHIFT-DOWN Previous Hotbar Page &mdash; SHIFT-UP Reset Object To Default &mdash; BACKSPACE Rotate Object Plus Yaw &mdash; HOME Rotate Object Minus Yaw &mdash; END Rotate Object Plus Pitch &mdash; INSERT Rotate Object Minus Pitch &mdash; DELETE Rotate Object Plus Roll &mdash; PAGEUP Rotate Object Minus Roll &mdash; PAGEDOWN Show Players &mdash; TAB Return to Menu &mdash; ESCAPE Save Game &mdash; CTRL-SHIFT-S Toggle UI &mdash; CTRL-U Reload Assets &mdash; F5 Invert Mouse &mdash; [checkbox] Mouse Sensitivity &mdash; [hor.slider 0.1-199]
 * Placement
 * System