Learn about the types of blocks.
Want to know about screen composition? Go Detail>
1. Start Blocks
Blocks that define the starting point of coding.
1-1. When Entering the Space
•
Occurs when a user accesses the space URL.
•
Cannot be added or created as a fixed block
1-2. When Clicking on a <3D Model>
•
Executes the <linked block> when the <3D model> is clicked.
•
Multiple <linked blocks> can be added without limitation.
•
You can select from the 3D models created in the space.
•
If no 3D models have been created, it will not function properly.
1-3. When Pressing the <space> Key
•
Executes the <linked block> when the selected <key> is pressed.
•
The following keyboard keys can be selected:
◦
space, Enter, Backspace, Shift, ctrl, Tab, Alt
◦
ArrowUp, ArrowDown, ArrowLeft, ArrowRight
◦
r, p
◦
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
1-4. When Hovering Over and Leaving a <3D Model>
•
Executes <linked block 1> when hovering over the <3D model>, and executes <linked block 2> when the mouse leaves.
•
You can select from the 3D models created in the space.
•
If no 3D models have been created, please create new ones!
2. Condition/Loop Blocks
Used when you want to execute something only under certain conditions or repeatedly.
2-1. When <3D Model1> and <3D Model2> Collide
•
Executes the <linked block> when the selected two <3D models> collide.
•
You can select from the 3D models created in the space.
•
If no 3D models have been created, please create new ones!
•
To trigger this block, you need to create a collision environment between two 3D models.
•
Assuming the selected 3D models are A and B, this block will execute when:
◦
A moves toward B
◦
B moves toward A
◦
Both A and B move and their coordinates overlap
2-2. Execute Simultaneously
•
Executes <linked block 1> and <linked block 2> simultaneously.
•
If <linked block 1> contains more than two blocks, they will execute in order.
2-3. Repeat N Times
•
Repeats the <linked block> N times.
•
Enter the number of repetitions using the number pad or keyboard.
•
A number pad will appear on the screen when clicked.
•
The repeat block allows you to define how many times a 3D model’s action should be executed.
•
Use it in combination with motion blocks for repeated actions.
•
Note: Animation blocks are not designed to define repetition, so they are not suitable for use with repeat blocks.
2-4. Repeat Infinitely
•
Repeats the <linked block> infinitely.
•
To stop the repetition, you can use the [Stop Repeating] block.
2-5. Stop Repeating
•
Stops the execution of any repeating blocks linked above it.
•
If a repeat block is used among the blocks connected above, you will see that its execution is stopped.
2-6. Wait for N Seconds
•
Pauses for N seconds if any of the linked blocks above are running, then continues with the blocks connected below.
•
Enter the time using the number pad or keyboard.
•
A number pad will appear on the screen when clicked.
3. Action Blocks
오브젝트를 움직이게 하는 블록입니다.
3-1. Set <3D Model> Animation to <Run>
•
Sets the animation of the selected <3D model> to the specified value.
•
You can select from the 3D models created in the space.
•
Each 3D model has its own unique animations.
•
If no animation is selected, this block may have no effect.
•
Animation blocks are not ideal for use with repeat blocks or stop action blocks.
•
Since the animation is set, it will continue running even after all the connected blocks have finished executing.
•
To stop the animation, use the [Stop Animation] block.
3-2. Stop Animation of <3D Model>
•
Stops the animation of the selected <3D model>.
•
You can select from the 3D models created in the space.
•
If the selected <3D model> has an active animation, this block will successfully stop it.
3-3. Move <3D Model> Forward by N Units for N Seconds
•
Moves the selected <3D model> in the chosen direction by the specified distance over the given duration.
•
Time: Enter the duration using the number pad or keyboard. A number pad will appear when clicked.
•
Direction: Choose from Front, Back, Left, Right, Up, Down.
•
Distance: Enter the distance using the number pad or keyboard. A number pad will appear when clicked.
•
Distances may vary depending on the scale of the space (image, 3D model, etc.). A distance ruler feature is under consideration for the editor.
3-4. Move <3D Model1> Toward <3D Model2> by N Units for N Seconds
•
Moves <3D Model1> in a straight line toward the current position of <3D Model2> by the given distance over the specified time.
•
At the moment the block is executed, it moves in a straight line toward <3D Model2>’s position.
•
Even if <3D Model2> moves afterward, the direction will not continuously update to follow it.
3-5. Rotate <3D Model> by N Degrees in a <Clockwise> Direction for N Seconds
•
Rotates the <3D model> in the selected direction by the given number of degrees over the specified time.
•
Direction: Choose between Clockwise and Counterclockwise.
•
Angle: Enter the degree value using the number pad or keyboard. A number pad will appear when clicked.
•
If you enter a value over 360 degrees, the model will rotate more than one full turn.
3-6. Hide <3D Model>
•
Makes the selected <3D model> invisible.
•
If the <3D model> is currently visible, you will see this block take effect.
3-7. Show <3D Model>
•
Makes the selected <3D model> appear.
•
If the <3D model> is currently hidden, you will see this block take effect.
2-8. N초 기다리기
•
If any of the connected blocks above are running, pauses for N seconds before executing the blocks connected below.
•
Enter the time using the number pad or keyboard.
•
When clicked, a number pad will appear on the screen.
3-9. Stop Action of <3D Model>
•
Stops the current action (e.g., movement, rotation) of the <3D model>.
•
Can be used in combination with movement or rotation blocks to interrupt ongoing actions.
4. Looks Blocks
Blocks that change the appearance of an object.
4-1. Change <3D Model> Size by N Times
•
Changes the size of the selected <3D model> by the entered multiplier.
•
Multiplier: Enter the value using the number pad or keyboard.
A number pad will appear when clicked.
•
To make the model smaller, enter a value less than 1.
•
To enlarge the model, enter a value greater than 1.
4-2. Show <Text> Speech Bubble with Font Size N on <3D Model>
•
Displays a speech bubble with the entered text and font size on the selected <3D model>.
•
TEXT: Enter the text you want to display in the speech bubble.
4-3. Set the color of the <3D model> to <color>
•
Sets the color of the <3D model> to the selected color.
•
Color: Click to select the desired color from the color palette.