Tablet

Tablet is a versatile tool to assist the user to interact with objects/environment
Inspector

Tablet
Category of settings for positioning the tablet on your belt
- Attach to player's belt - parameter fixing the tablet on the player's belt. It can be removed from the belt by hand. When released from the hand, it will return to its original position on the belt
- Displacement X - displacement of the tablet on the belt along the X axis
- Displacement Y - displacement of the tablet on the belt along the Y axis
- Displacement Z - displacement of the tablet on the belt in the Z axis
Watch setting
Clock display setting category
- Inactive timer color - sets the colour of the zone on the watch face that is not within the set timer range
- Timer progress colour - sets the colour of the timer zone on the watch face
Content settings
Tablet content settings category
- Image - set the logo on top of the header (not set by default)
- Title - setting the title for the tablet
- Button color - sets the colour for active buttons
- Disabled button color - set the colour for the inactive button
Blockly
Variables
Returns the specified object
Actions

Attach/detach tablet to player's belt
Hide/show watch to tablet

Setting the displayed and functional time on the clock to 0 : 0, where the first value is the time indication for the short hand and the second value is the time indication for the long hand
No clear time format, hours minutes or seconds, is defined for this clock. For more details, see the description of the Time Speed Setting block

Starting/Stopping the clock

Switching on timer operation
The numbers shown here add up to the set time on the clock, i.e. if you have 0:25 on the clock and you specify 0:15 in the timer, the timer will end at 0:40 (number 8 on the dial).

Switching off the timer
Adding a button with name, caption and normal/wide size where:
- name - button identifier
- caption - button text
- size - button size
- normal - half a page
- wide - covering the entire width of the page
Setting the possibility to allow/prohibit interaction with a button by its identifier
Inserting text into the page structure and giving it a normal/wide size
Inserting a space into the page structure and giving it a normal/wide size
Deletes all content from all pages on the tablet

Sets the open page number of the tablet
Page numbering starts from 1
Functions

Getting the text of the button with the specified identifier
Events

Event triggered when the timer on the clock is completed
Event triggered by pressing the button with the specified identifier
Example
Arrangement of elements on the tablet page
Let's make a simple logic and see how the buttons on the tablet are arranged following it
What will appear on the tablet

Based on this example, let's fix some important points on how to populate your tablet with content:
- Height of one page of the tablet 5 elements
- When you reach 5 lines on a page, the next line will be displayed on a new page
- If a regular-sized element is followed by a wide-sized element, it will be moved to the next line of the page
- The maximum number of pages per tablet is 3. If the tablet overflows with content, an error will appear in the console