Google Blockly Properties

Kuika’s Google Blockly module contains blocks in various categories. With these blocks, you can easily perform operations such as logical checks, loops, mathematical operations, and data management.

Logic

  • Feature: Used to control program flow.
  • Content: You can create conditional statements using logical blocks such as “if,” “and,” and “not.”
  • Example: It can perform a specified operation when a certain condition is met.

Loops

  • Feature: Allows you to run a specific code multiple times.
  • Content: The “while” loop runs as long as a specific condition is met. The “repeat times do” block repeats the operation a specified number of times.

Math (Mathematics)

  • Feature: Allows you to perform operations with numbers.
  • Content: Includes mathematical operations such as addition, subtraction, multiplication, division, and finding square roots.

Text

  • Feature: Used to process text data.
  • Content: You can perform operations such as concatenating text, measuring length, searching for characters, and extracting substrings.
  • Example: The “is empty” block checks whether a piece of text is empty.

Lists

  • Feature: Allows you to store multiple items together.
  • Content: Supports operations such as adding items to a list, sorting a list, and accessing a specific item.
  • Example: The “length of” block returns the length of a list.

Color

  • Feature: Allows you to perform operations related to colors.
  • Content: You can create and use colors using RGB, HEX, or predefined colors.
  • Example: With the “blend color” block, you can blend two colors to create a new one.

Variables

  • Feature: Used to temporarily store data in a program.
  • Content: Numbers, text, or other data types can be stored in variables.

Functions

  • Feature: Allows you to reuse a specific operation repeatedly.
  • Content: Functions can accept parameters, perform operations, and return results.
  • Example: The “to do something” block turns a specific operation into a function.

Kuika Parameters

Used to define the input parameters your action will receive from outside. Supported data types are as follows:

  • datetime: Date and time data
  • boolean: True/false value
  • decimal: Decimal numbers

These parameters are filled in as inputs when the action is used. Missing or incorrect parameter entries may prevent the action from working properly.

Thanks to Google Blockly, you can develop functions quickly and efficiently using block-based programming on the Kuika platform.