Built-In Shape: Difference between revisions
(updates from Blockument) |
(duplicate file already uploaded) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:2--> | |||
<section begin="image"/>[[File:built-in_shape.png|alt=The Built-In Shape Block|thumb]]<section end="image"/><p id="tooltip">Creates the specified shape.</p> | <section begin="image"/>[[File:built-in_shape.png|alt=The Built-In Shape Block|thumb]]<section end="image"/><p id="tooltip">Creates the specified shape.</p> | ||
==Usage== | ==Usage== <!--T:3--> | ||
<!--T:4--> | |||
Returns a particular built-in shape chosen from the drop down menu. | Returns a particular built-in shape chosen from the drop down menu. | ||
==Syntax== | ==Syntax== <!--T:5--> | ||
<!--T:6--> | |||
Inputs in this block: | Inputs in this block: | ||
#a pre-loaded shape from the dropdown menu | #a pre-loaded shape from the dropdown menu | ||
==Example== | ==Example== <!--T:7--> | ||
[[File: | <!--T:8--> | ||
[[File:key_held_example.gif|alt=Built-In Shape example gif|thumb]] | |||
[[File:built-in_shape_example.png|alt=Built-In Shape example code|thumb]] | [[File:built-in_shape_example.png|alt=Built-In Shape example code|thumb]] | ||
<!--T:9--> | |||
In this model, the frog is controlled by the user, as it tries to eat the flies. The shape of the frog has been identified using the built-in shape block. | In this model, the frog is controlled by the user, as it tries to eat the flies. The shape of the frog has been identified using the built-in shape block. | ||
Latest revision as of 18:38, 16 August 2023
Creates the specified shape.
Usage
Returns a particular built-in shape chosen from the drop down menu.
Syntax
Inputs in this block:
- a pre-loaded shape from the dropdown menu
Example
In this model, the frog is controlled by the user, as it tries to eat the flies. The shape of the frog has been identified using the built-in shape block.