Kuika's Google Blockly module contains blocks in various categories. These blocks allow you to program in various areas such as logic, loops, math, text, lists, color, variables, functions and Kuika parameters. Each block is designed to fulfill a function and helps you visually understand the code.
1. Logic
Feature: Allows you to control the flow of your program. You can create conditional statements using logical blocks like “if, and, not”. It allows you to perform different operations depending on certain conditions. You can also perform the operation with the do block, an operation can be performed when a certain condition is met.
2. Loops
Feature: Allows you to run a given script more than once. The “while” loop allows you to repeat an operation as long as a certain condition is met. You can also repeat an operation a certain number of times with the “repeat times do” block.
3. Math
Feature: Allows you to perform operations with numbers. You can perform operations such as addition, subtraction, multiplication, division and more complex mathematical calculations. It also includes functions such as square root.
4. Text
Feature Used for processing text data. It includes operations such as text concatenation, measuring text length, searching for a specific character, subtext extraction. The “is empty block” checks whether a text is empty or not.
5. Lists
Feature: Allows you to store multiple items together. You can do operations such as adding items to the list, sorting the list. You can easily access and edit the items in the list. You can also get the length (number of elements) of a list with the “length of” block.
6. Color
Feature: Allows you to perform operations with colors. You can create and use colors with RGB, HEX or fixed colors. You can also blend two colors with the “blend color” block to get a new color.
7. Variables
Feature: Used to temporarily store data in a program. Numbers, text or other data are stored in a variable. It is very useful for sharing and manipulating data at various points in your program.
8. Functions
Feature: Allows you to create modular structures that allow you to use a particular operation multiple times. Functions can take parameters and return results by performing their function. With the “to do something” block you can turn a specific operation into a function.
9. Kuika Parameters
There are various parameters used as data types in the Kuika platform. These parameters include:
datetime: Date and time data,
boolean: True/false value,
decimal: Data types such as decimal numbers.
These parameters are used as input for the related action. Therefore, if you want to use this action on the screen, you must fill in the specified parameters. Filling the parameters completely and correctly is critical for the action to work properly.