Looks Blocks

Speech Bubbles

{"func":"blockLooksSetLabel"}

Set Label

"Set Label" makes text appear on the center of your Actor.

Parameters:

Label: This parameter is the text that will appear.

Related Blocks:
{"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"blockLooksSetLabel","values":[{"type":"wrapper","func":"valueLooksCostumeNum"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksCostumeName"}]} Add to my Backpack


{"func":"blockLooksSayStyledFor"}

Say For With Style

"Say For With Style" displays a speech bubble with the specified text and formatting for the given amount of time.

Parameters:

Text: This is the text that will appear in the bubble.

NumSeconds: This is how many seconds the bubble will remain on the screen for.

Style: This parameter is the type of bubble or box that the text will appear in.

Text Color: This parameter indicates which color the text will be. Select a color from the color wheel, or manually select a color with a hexadecimal number.

Border Color: This parameter indicates which color the border of the bubble or box will be. Select a color from the color wheel, or manually select a color with a hexadecimal number.

Background Color: This parameter indicates which color the background of the bubble or box will be. Select a color from the color wheel, or manually select a color with a hexadecimal number.

Font Attributes: This parameter is any font attribute you want your text to have. You can choose attributes like "bold," "italic," "italic bold," or just "normal."

Font Size: This parameter is a number that indicates the font’s size.

Font Style: This parameter is the font style, and often includes multiple options, like "Arial, Helvetica, sans-serif." In that case, Arial will be chosen first, then Helvetica, then sans-serif depending on which ones are available.

Related Blocks:
{"func":"blockLooksSayStyled"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksSayStyledFor","values":[{"type":"string","value":"Look! I'm speaking in a dialog box!"},{"type":"number","value":3},{"type":"choice","value":"bottom message box"},{"type":"color","value":"#eeeeee"},{"type":"color","value":"#ffffff"},{"type":"color","value":"#000000"},{"type":"choice","value":"normal"},{"type":"choice","value":"18"},{"type":"choice","value":"Arial,Helvetica,sans-serif"}]}} Add to my Backpack


{"func":"blockLooksSetBubble"}

Set Bubble Type

"Set Bubble Type" changes the appearance of speech bubbles.

Parameters:

Type: This parameter is the bubble type that will appear.

Related Blocks:
{"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"registerSpriteTrigger","next":{"func":"blockLooksSwitchBackgroundAndWait","values":[{"type":"string","value":"beach"}],"next":{"func":"blockLooksSetBubble","values":[{"type":"choice","value":"excited"}],"next":{"func":"blockLooksThinkFor","values":[{"type":"string","value":"I'm so excited!!"},{"type":"number","value":"2"}]}}}} Add to my Backpack


{"func":"blockLooksSayFor"}

Say For

"Say For" displays a speech bubble with the specified text next to an Actor for the given amount of time.

Parameters:

Text: This is the text that will appear in the bubble.

NumSeconds: This is how many seconds the bubble will remain on the screen for.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksSetBubble","values":[{"type":"choice","value":"rectangular"}],"next":{"func":"blockLooksSayFor","values":[{"type":"string","value":"Hello World"},{"type":"number","value":"2"}]}}} Add to my Backpack


{"func":"blockLooksSay"}

Say

"Say" displays a speech bubble with the specified text next to an Actor.

Parameters:

Text: This is the text that will appear in the bubble.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSayFor"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"blockLooksSetSize","values":[{"type":"number","value":"100"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeSizeBy","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"New Size:"},{"type":"wrapper","func":"valueLooksSize"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}} Add to my Backpack


{"func":"blockLooksThinkFor"}

Think For

"Think For" displays a thought bubble with the specified text next to an Actor for the given amount of time.

Parameters:

Text: This is the text that will appear in the bubble.

NumSeconds: This is how many seconds the bubble will remain on the screen for.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockControlWaitUntil","values":[{"type":"wrapper","func":"valueSensingTouchingSprite","values":[{"type":"string","value":"rightedge"}]}],"next":{"func":"blockLooksThinkFor","values":[{"type":"string","value":"Turn me around!"},{"type":"number","value":"5"}]}}} Add to my Backpack


{"func":"blockLooksThink"}

Think

"Think" displays a thought bubble with the specified text next to an Actor.

Parameters:

Text: This is the text that will appear in the bubble.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"}

Sample Code:
{"func":"registerTrigger","values":[{"type":"wrapper","func":"valueVar","name":"Clone"}],"next":{"func":"blockLooksThink","values":[{"type":"string","value":"I want another"},{"type":"wrapper","func":"valueControlLastClonedActor"},{"type":"string","value":"!"}]}} Add to my Backpack


{"func":"blockLooksSayStyled"}

Say With Style

"Say With Style" displays a speech bubble with the specified text and formatting.

Parameters:

Text: This is the text that will appear in the bubble.

Style: This parameter is the type of bubble or box that the text will appear in.

Text Color: This parameter indicates which color the text will be. Select a color from the color wheel, or manually select a color with a hexadecimal number.

Border Color: This parameter indicates which color the border of the bubble or box will be. Select a color from the color wheel, or manually select a color with a hexadecimal number.

Background Color: This parameter indicates which color the background of the bubble or box will be. Select a color from the color wheel, or manually select a color with a hexadecimal number.

Font Attributes: This parameter is any font attribute you want your text to have. You can choose attributes like "bold," "italic," "italic bold," or just "normal."

Font Size: This parameter is a number that indicates the font’s size.

Font Style: This parameter is the font style, and often includes multiple options, like "Arial, Helvetica, sans-serif." In that case, Arial will be chosen first, then Helvetica, then sans-serif depending on which ones are available.

Related Blocks:
{"func":"blockLooksSayStyledFor"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksSayStyled","values":[{"type":"string","value":"Look! I'm speaking in a dialog box!"},{"type":"choice","value":"bottom message box"},{"type":"color","value":"#eeeeee"},{"type":"color","value":"#ffffff"},{"type":"color","value":"#000000"},{"type":"choice","value":"normal"},{"type":"choice","value":"18"},{"type":"choice","value":"Arial,Helvetica,sans-serif"}]}} Add to my Backpack


{"func":"blockLooksThink"}

Pensar

"Pensar" muestra un globo de pensamiento con el texto especificado junto al Actor.

Parameters:

Texto: el texto que aparecerá en el globo.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"}

Sample Code:
{"func":"registerTrigger","values":[{"type":"wrapper","func":"valueVar","name":"Clone"}],"next":{"func":"blockLooksThink","values":[{"type":"string","value":"I want another"},{"type":"wrapper","func":"valueControlLastClonedActor"},{"type":"string","value":"!"}]}} Add to my Backpack


{"func":"blockLooksSetLabel"}

Establecer etiqueta

"Establecer etiqueta" hace que aparezca un texto en el centro de tu Actor.

Parameters:

Etiqueta: este parámetro es el texto que aparecerá.

Related Blocks:
{"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"blockLooksSetLabel","values":[{"type":"wrapper","func":"valueLooksCostumeNum"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksCostumeName"}]} Add to my Backpack


{"func":"blockLooksSayFor"}

Decir por

"Decir por" muestra un globo de diálogo con el texto indicado junto a un Actor, durante el tiempo especificado.

Parameters:

Texto: éste es el texto que aparecerá en el globo de diálogo.

NumSegundos: éste es el tiempo en segundos, durante el que se mostrará el globo en pantalla.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksSetBubble","values":[{"type":"choice","value":"rectangular"}],"next":{"func":"blockLooksSayFor","values":[{"type":"string","value":"Hello World"},{"type":"number","value":"2"}]}}} Add to my Backpack


{"func":"blockLooksSayStyledFor"}

Decir con formato durante

"Decir durante" muestra una burbuja de diálogo con el texto especificado durante el lapso de tiempo indicado.

Parameters:

Texto: es el texto que aparecerá en la burbuja.

NumSegundos: es el tiempo de permanencia de la burbuja en la pantalla, en segundos.

Tipo de burbuja: es el tipo de burbuja.

Color del texto: color de texto de la burbuja.

Color del borde: es el color del borde de la burbuja.

Color de fondo: el color de fondo de la burbuja.

Atributos de fuente: este parámetro contiene cualquier atributo de fuente que desees que tenga tu texto. Puedes elegir atributos tales como "negrita", "cursiva", "negrita cursiva", o "normal".

Tamaño de fuente: este parámetro es un número que indica el tamaño de fuente.

Estilo de fuente: este parámetro es el estilo de fuente, y por lo general incluye varias opciones, tales como "Arial, Helvetica, sans-serif". En este caso, se seleccionará primero Arial, luego Helvetica y luego sans-serif, dependiendo de cuáles estén disponibles.

Related Blocks:
{"func":"blockLooksSayStyled"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksSayStyledFor","values":[{"type":"string","value":"Look! I'm speaking in a dialog box!"},{"type":"number","value":3},{"type":"choice","value":"bottom message box"},{"type":"color","value":"#eeeeee"},{"type":"color","value":"#ffffff"},{"type":"color","value":"#000000"},{"type":"choice","value":"normal"},{"type":"choice","value":"18"},{"type":"choice","value":"Arial,Helvetica,sans-serif"}]}} Add to my Backpack


{"func":"blockLooksSetLabel"}

Establecer etiqueta

"Establecer etiqueta" hace que aparezca un texto en el centro de tu Actor.

Parameters:

Etiqueta: este parámetro es el texto que aparecerá.

Related Blocks:
{"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"blockLooksSetLabel","values":[{"type":"wrapper","func":"valueLooksCostumeNum"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksCostumeName"}]} Add to my Backpack


{"func":"blockLooksSayFor"}

Decir por

"Decir por" muestra un globo de diálogo con el texto indicado junto a un Actor, durante el tiempo especificado.

Parameters:

Texto: éste es el texto que aparecerá en el globo de diálogo.

NumSegundos: éste es el tiempo en segundos, durante el que se mostrará el globo en pantalla.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksSetBubble","values":[{"type":"choice","value":"rectangular"}],"next":{"func":"blockLooksSayFor","values":[{"type":"string","value":"Hello World"},{"type":"number","value":"2"}]}}} Add to my Backpack


{"func":"blockLooksSay"}

Decir

"Decir" muestra un globo de de diálogo con el texto especificado junto a un Actor.

Parameters:

Texto: éste es el texto que aparecerá en el globo de diálogo.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSayFor"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"blockLooksSetSize","values":[{"type":"number","value":"100"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeSizeBy","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"New Size:"},{"type":"wrapper","func":"valueLooksSize"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}} Add to my Backpack


{"func":"blockLooksSayStyledFor"}

Decir con formato durante

"Decir durante" muestra una burbuja de diálogo con el texto especificado durante el lapso de tiempo indicado.

Parameters:

Texto: es el texto que aparecerá en la burbuja.

NumSegundos: es el tiempo de permanencia de la burbuja en la pantalla, en segundos.

Tipo de burbuja: es el tipo de burbuja.

Color del texto: color de texto de la burbuja.

Color del borde: es el color del borde de la burbuja.

Color de fondo: el color de fondo de la burbuja.

Atributos de fuente: este parámetro contiene cualquier atributo de fuente que desees que tenga tu texto. Puedes elegir atributos tales como "negrita", "cursiva", "negrita cursiva", o "normal".

Tamaño de fuente: este parámetro es un número que indica el tamaño de fuente.

Estilo de fuente: este parámetro es el estilo de fuente, y por lo general incluye varias opciones, tales como "Arial, Helvetica, sans-serif". En este caso, se seleccionará primero Arial, luego Helvetica y luego sans-serif, dependiendo de cuáles estén disponibles.

Related Blocks:
{"func":"blockLooksSayStyled"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksSayStyledFor","values":[{"type":"string","value":"Look! I'm speaking in a dialog box!"},{"type":"number","value":3},{"type":"choice","value":"bottom message box"},{"type":"color","value":"#eeeeee"},{"type":"color","value":"#ffffff"},{"type":"color","value":"#000000"},{"type":"choice","value":"normal"},{"type":"choice","value":"18"},{"type":"choice","value":"Arial,Helvetica,sans-serif"}]}} Add to my Backpack


{"func":"blockLooksSayStyled"}

Decir con formato

"Decir" muestra una burbuja de diálogo con el texto especificado.

Parameters:

Texto: es el texto que aparecerá en la burbuja.

Tipo de burbuja: es el tipo de burbuja.

Color del texto: color de texto de la burbuja.

Color del borde: es el color del borde de la burbuja.

Color de fondo: el color de fondo de la burbuja.

Atributos de fuente: este parámetro contiene cualquier atributo de fuente que desees que tenga tu texto. Puedes elegir atributos tales como "negrita", "cursiva", "negrita cursiva", o "normal".

Tamaño de fuente: este parámetro es un número que indica el tamaño de fuente.

Estilo de fuente: este parámetro es el estilo de fuente, y por lo general incluye varias opciones, tales como "Arial, Helvetica, sans-serif". En este caso, se seleccionará primero Arial, luego Helvetica y luego sans-serif, dependiendo de cuáles estén disponibles.

Related Blocks:
{"func":"blockLooksSayStyledFor"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksSayStyled","values":[{"type":"string","value":"Look! I'm speaking in a dialog box!"},{"type":"choice","value":"bottom message box"},{"type":"color","value":"#eeeeee"},{"type":"color","value":"#ffffff"},{"type":"color","value":"#000000"},{"type":"choice","value":"normal"},{"type":"choice","value":"18"},{"type":"choice","value":"Arial,Helvetica,sans-serif"}]}} Add to my Backpack


{"func":"blockLooksThinkFor"}

Pensar por

"Pensar por" muestra un globo de diálogo con el texto especificado junto a un Actor, durante el tiempo indicado.

Parameters:

Texto: éste es el texto que aparecerá en el globo de diálogo.

NumSegundos: la cantidad de segundos de permanencia del globo de diálogo.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockControlWaitUntil","values":[{"type":"wrapper","func":"valueSensingTouchingSprite","values":[{"type":"string","value":"rightedge"}]}],"next":{"func":"blockLooksThinkFor","values":[{"type":"string","value":"Turn me around!"},{"type":"number","value":"5"}]}}} Add to my Backpack


{"func":"blockLooksSetBubble"}

Establecer tipo de globo

"Establecer tipo de globo" cambia el aspecto de los globos de diálogo.

Parameters:

Tipo: este parámetro es el tipo de globo de diálogo que se mostrará.

Related Blocks:
{"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"registerSpriteTrigger","next":{"func":"blockLooksSwitchBackgroundAndWait","values":[{"type":"string","value":"beach"}],"next":{"func":"blockLooksSetBubble","values":[{"type":"choice","value":"excited"}],"next":{"func":"blockLooksThinkFor","values":[{"type":"string","value":"I'm so excited!!"},{"type":"number","value":"2"}]}}}} Add to my Backpack


{"func":"blockLooksSay"}

Decir

"Decir" muestra un globo de de diálogo con el texto especificado junto a un Actor.

Parameters:

Texto: éste es el texto que aparecerá en el globo de diálogo.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSayFor"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"blockLooksSetSize","values":[{"type":"number","value":"100"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeSizeBy","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"New Size:"},{"type":"wrapper","func":"valueLooksSize"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}} Add to my Backpack


{"func":"blockLooksSayStyled"}

Decir con formato

"Decir" muestra una burbuja de diálogo con el texto especificado.

Parameters:

Texto: es el texto que aparecerá en la burbuja.

Tipo de burbuja: es el tipo de burbuja.

Color del texto: color de texto de la burbuja.

Color del borde: es el color del borde de la burbuja.

Color de fondo: el color de fondo de la burbuja.

Atributos de fuente: este parámetro contiene cualquier atributo de fuente que desees que tenga tu texto. Puedes elegir atributos tales como "negrita", "cursiva", "negrita cursiva", o "normal".

Tamaño de fuente: este parámetro es un número que indica el tamaño de fuente.

Estilo de fuente: este parámetro es el estilo de fuente, y por lo general incluye varias opciones, tales como "Arial, Helvetica, sans-serif". En este caso, se seleccionará primero Arial, luego Helvetica y luego sans-serif, dependiendo de cuáles estén disponibles.

Related Blocks:
{"func":"blockLooksSayStyledFor"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksSayStyled","values":[{"type":"string","value":"Look! I'm speaking in a dialog box!"},{"type":"choice","value":"bottom message box"},{"type":"color","value":"#eeeeee"},{"type":"color","value":"#ffffff"},{"type":"color","value":"#000000"},{"type":"choice","value":"normal"},{"type":"choice","value":"18"},{"type":"choice","value":"Arial,Helvetica,sans-serif"}]}} Add to my Backpack


{"func":"blockLooksThinkFor"}

Pensar por

"Pensar por" muestra un globo de diálogo con el texto especificado junto a un Actor, durante el tiempo indicado.

Parameters:

Texto: éste es el texto que aparecerá en el globo de diálogo.

NumSegundos: la cantidad de segundos de permanencia del globo de diálogo.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockControlWaitUntil","values":[{"type":"wrapper","func":"valueSensingTouchingSprite","values":[{"type":"string","value":"rightedge"}]}],"next":{"func":"blockLooksThinkFor","values":[{"type":"string","value":"Turn me around!"},{"type":"number","value":"5"}]}}} Add to my Backpack


{"func":"blockLooksThink"}

Pensar

"Pensar" muestra un globo de pensamiento con el texto especificado junto al Actor.

Parameters:

Texto: el texto que aparecerá en el globo.

Related Blocks:
{"func":"blockLooksSetLabel"} ,     {"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"}

Sample Code:
{"func":"registerTrigger","values":[{"type":"wrapper","func":"valueVar","name":"Clone"}],"next":{"func":"blockLooksThink","values":[{"type":"string","value":"I want another"},{"type":"wrapper","func":"valueControlLastClonedActor"},{"type":"string","value":"!"}]}} Add to my Backpack


{"func":"blockLooksSetBubble"}

Establecer tipo de globo

"Establecer tipo de globo" cambia el aspecto de los globos de diálogo.

Parameters:

Tipo: este parámetro es el tipo de globo de diálogo que se mostrará.

Related Blocks:
{"func":"blockLooksSayFor"} ,     {"func":"blockLooksSay"} ,     {"func":"blockLooksThinkFor"} ,     {"func":"blockLooksThink"}

Sample Code:
{"func":"registerSpriteTrigger","next":{"func":"blockLooksSwitchBackgroundAndWait","values":[{"type":"string","value":"beach"}],"next":{"func":"blockLooksSetBubble","values":[{"type":"choice","value":"excited"}],"next":{"func":"blockLooksThinkFor","values":[{"type":"string","value":"I'm so excited!!"},{"type":"number","value":"2"}]}}}} Add to my Backpack


Layers

{"func":"blockLooksLayer"}

Set Layer

"Set Layer" sets the layer the current Actor is on.

Parameters:

Layers: This parameter indicates the visual layer to set the Actor to.

Related Blocks:
{"func":"valueLooksLayer"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksLayer","values":[{"type":"number","value":4}]}} Add to my Backpack


{"func":"valueLooksLayer"}

Get Layer

"Get Layer" returns the layer the current Actor is on.

Related Blocks:
{"func":"blockLooksLayer"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpGreater","values":[{"type":"wrapper","func":"valueLooksLayer"},{"type":"string","value":"5"}]}],"containers":[{"func":"blockLooksLayer","values":[{"type":"number","value":5}]}]} Add to my Backpack


{"func":"blockLooksGoFront"}

Go To Front

"Go To Front" makes an Actor appear in front of all the other Actors on the Stage.

Parameters:

None.

Related Blocks:
{"func":"blockLooksGoBack"} ,     {"func":"blockLooksMoveBack"} ,     {"func":"blockLooksMoveFront"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoFront"}}]} Add to my Backpack


{"func":"blockLooksMoveBack"}

Go Back

"Go Back" makes an Actor go back the specified amount of visual layers.

Parameters:

Layers: This parameter indicates how many visual layers the Actor should go back.

Related Blocks:
{"func":"blockLooksGoFront"} ,     {"func":"blockLooksGoBack"} ,     {"func":"blockLooksMoveFront"}

Sample Code:
{"func":"registerCloned","next":{"func":"blockPhysicsSetActive","values":[{"type":"boolean","value":"true"}],"next":{"func":"blockLooksMoveBack","values":[{"type":"number","value":"1"}]}}} Add to my Backpack


{"func":"blockLooksGoBack"}

Go To Back

"Go To Back" makes an Actor hide behind all the other Actors on the Stage.

Parameters:

None.

Related Blocks:
{"func":"blockLooksGoFront"} ,     {"func":"blockLooksMoveBack"} ,     {"func":"blockLooksMoveFront"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoBack"}}]} Add to my Backpack


{"func":"blockLooksMoveFront"}

Go Front

"Go Front" makes an Actor go forward the specified amount of visual layers.

Parameters:

Layers: This parameter indicates how many visual layers the Actor should go forward.

Related Blocks:
{"func":"blockLooksGoFront"} ,     {"func":"blockLooksGoBack"} ,     {"func":"blockLooksMoveBack"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueSensingKeyPressed","values":[{"type":"choice","value":"f"}]}],"containers":[{"func":"blockLooksMoveFront","values":[{"type":"number","value":"1"}]}]} Add to my Backpack


{"func":"blockLooksLayer"}

Establecer capa

"Establecer capa" determina cuál es la capa en la que está el Actor actual.

Parameters:

Capas: este parámetro indica cuál es la capa visual donde está el Actor.

Related Blocks:
{"func":"valueLooksLayer"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksLayer","values":[{"type":"number","value":4}]}} Add to my Backpack


{"func":"blockLooksGoFront"}

Ir al frente

"Ir al frente" hace que un Actor aparezca por delante de todos los demás actores en el escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksGoBack"} ,     {"func":"blockLooksMoveBack"} ,     {"func":"blockLooksMoveFront"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoFront"}}]} Add to my Backpack


{"func":"blockLooksMoveBack"}

Retroceder

"Retroceder" hace que un Actor retroceda el número indicado de capas visuales.

Parameters:

Capas: este parámetro indica cuántas capas debe retroceder el Actor.

Related Blocks:
{"func":"blockLooksGoFront"} ,     {"func":"blockLooksGoBack"} ,     {"func":"blockLooksMoveFront"}

Sample Code:
{"func":"registerCloned","next":{"func":"blockPhysicsSetActive","values":[{"type":"boolean","value":"true"}],"next":{"func":"blockLooksMoveBack","values":[{"type":"number","value":"1"}]}}} Add to my Backpack


{"func":"blockLooksMoveFront"}

Avanzar

"Avanzar" hace que un Actor avance el número especificado de capas visuales.

Parameters:

Capas: este parámetro indica cuántas capas debe avanzar el Actor.

Related Blocks:
{"func":"blockLooksGoFront"} ,     {"func":"blockLooksGoBack"} ,     {"func":"blockLooksMoveBack"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueSensingKeyPressed","values":[{"type":"choice","value":"f"}]}],"containers":[{"func":"blockLooksMoveFront","values":[{"type":"number","value":"1"}]}]} Add to my Backpack


{"func":"blockLooksLayer"}

Establecer capa

"Establecer capa" determina cuál es la capa en la que está el Actor actual.

Parameters:

Capas: este parámetro indica cuál es la capa visual donde está el Actor.

Related Blocks:
{"func":"valueLooksLayer"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksLayer","values":[{"type":"number","value":4}]}} Add to my Backpack


{"func":"valueLooksLayer"}

Obtener capa

"Obtener capa" devuelve la capa en la que está el Actor actual.

Related Blocks:
{"func":"blockLooksLayer"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpGreater","values":[{"type":"wrapper","func":"valueLooksLayer"},{"type":"string","value":"5"}]}],"containers":[{"func":"blockLooksLayer","values":[{"type":"number","value":5}]}]} Add to my Backpack


{"func":"blockLooksGoFront"}

Ir al frente

"Ir al frente" hace que un Actor aparezca por delante de todos los demás actores en el escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksGoBack"} ,     {"func":"blockLooksMoveBack"} ,     {"func":"blockLooksMoveFront"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoFront"}}]} Add to my Backpack


{"func":"blockLooksGoBack"}

Ir al fondo

"Ir al fondo" hace que un Actor quede por detrás de todos los demás actores en el escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksGoFront"} ,     {"func":"blockLooksMoveBack"} ,     {"func":"blockLooksMoveFront"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoBack"}}]} Add to my Backpack


{"func":"blockLooksMoveBack"}

Retroceder

"Retroceder" hace que un Actor retroceda el número indicado de capas visuales.

Parameters:

Capas: este parámetro indica cuántas capas debe retroceder el Actor.

Related Blocks:
{"func":"blockLooksGoFront"} ,     {"func":"blockLooksGoBack"} ,     {"func":"blockLooksMoveFront"}

Sample Code:
{"func":"registerCloned","next":{"func":"blockPhysicsSetActive","values":[{"type":"boolean","value":"true"}],"next":{"func":"blockLooksMoveBack","values":[{"type":"number","value":"1"}]}}} Add to my Backpack


{"func":"blockLooksMoveFront"}

Avanzar

"Avanzar" hace que un Actor avance el número especificado de capas visuales.

Parameters:

Capas: este parámetro indica cuántas capas debe avanzar el Actor.

Related Blocks:
{"func":"blockLooksGoFront"} ,     {"func":"blockLooksGoBack"} ,     {"func":"blockLooksMoveBack"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueSensingKeyPressed","values":[{"type":"choice","value":"f"}]}],"containers":[{"func":"blockLooksMoveFront","values":[{"type":"number","value":"1"}]}]} Add to my Backpack


{"func":"valueLooksLayer"}

Obtener capa

"Obtener capa" devuelve la capa en la que está el Actor actual.

Related Blocks:
{"func":"blockLooksLayer"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpGreater","values":[{"type":"wrapper","func":"valueLooksLayer"},{"type":"string","value":"5"}]}],"containers":[{"func":"blockLooksLayer","values":[{"type":"number","value":5}]}]} Add to my Backpack


{"func":"blockLooksGoBack"}

Ir al fondo

"Ir al fondo" hace que un Actor quede por detrás de todos los demás actores en el escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksGoFront"} ,     {"func":"blockLooksMoveBack"} ,     {"func":"blockLooksMoveFront"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoBack"}}]} Add to my Backpack


Visibility

{"func":"blockLooksShow"}

Show

"Show" makes an Actor show up on the Stage.

Parameters:

None.

Related Blocks:
{"func":"blockLooksHide"} ,     {"func":"valueLooksIsHidden"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoFront"}}]} Add to my Backpack


{"func":"blockLooksHide"}

Hide

"Hide" makes an Actor disappear from the Stage.

Parameters:

None.

Related Blocks:
{"func":"blockLooksShow"} ,     {"func":"valueLooksIsHidden"}

Sample Code:
{"func":"registerBroadcastTrigger","values":[{"type":"string","value":"GameOver"}],"next":{"func":"blockLooksHide"}} Add to my Backpack


{"func":"valueLooksIsHidden"}

Is Hidden

"Is Hidden" returns true when the Actor whose code you are editing is hidden and false when the Actor is shown.

Parameters:

None.

Related Blocks:
{"func":"blockLooksShow"} ,     {"func":"blockLooksHide"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoFront"}}]} Add to my Backpack


{"func":"blockLooksChangeSizeBy"}

Change Size

"Change Size" changes the size of an Actor by the given percentage value.

Parameters:

Growth size: This parameter indicates by what percentage the Actor will grow. You can use a negative number to make your Actor shrink.

Related Blocks:
{"func":"blockLooksSetSize"} ,     {"func":"valueLooksSize"}

Sample Code:
{"func":"blockLooksSetSize","values":[{"type":"number","value":"100"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeSizeBy","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"New Size:"},{"type":"wrapper","func":"valueLooksSize"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}} Add to my Backpack


{"func":"blockLooksSetSize"}

Set Size

"Set Size" sets the size of an Actor to the given percentage value.

Parameters:

Growth size: This parameter indicates to what percentage of its normal size the Actor will be set. Numbers below 100 will make the Actor shrink while numbers above 100 will make it grow.

Related Blocks:
{"func":"blockLooksChangeSizeBy"} ,     {"func":"valueLooksSize"}

Sample Code:
{"func":"blockLooksSetSize","values":[{"type":"number","value":"100"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeSizeBy","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"New Size:"},{"type":"wrapper","func":"valueLooksSize"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}} Add to my Backpack


{"func":"valueLooksSize"}

Size

"Size" returns the size of an Actor.

Parameters:

None.

Related Blocks:
{"func":"blockLooksChangeSizeBy"} ,     {"func":"blockLooksSetSize"}

Sample Code:
{"func":"blockLooksSay","values":[{"type":"string","value":"My size:"},{"type":"wrapper","func":"valueLooksSize"}]} Add to my Backpack


{"func":"blockLooksShow"}

Mostrar

"Mostrar" hace que un actor se muestre en el escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksHide"} ,     {"func":"valueLooksIsHidden"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoFront"}}]} Add to my Backpack


{"func":"blockLooksHide"}

Ocultar

"Ocultar" hace que un actor desaparezca del escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksShow"} ,     {"func":"valueLooksIsHidden"}

Sample Code:
{"func":"registerBroadcastTrigger","values":[{"type":"string","value":"GameOver"}],"next":{"func":"blockLooksHide"}} Add to my Backpack


{"func":"valueLooksIsHidden"}

Está oculto

"Está oculto" devuelve un valor verdadero cuando el Actor cuyo código estás editando está oculto, y falso cuando el Actor se está mostrando.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksShow"} ,     {"func":"blockLooksHide"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoFront"}}]} Add to my Backpack


{"func":"blockLooksChangeSizeBy"}

Cambiar tamaño

"Cambiar tamaño" cambia el tamaño de un Actor en el porcentaje indicado.

Parameters:

Porcentaje de cambio: este parámetro indica en qué porcentaje crecerá tu Actor. Puedes utilizar un número negativo para hacer que tu Actor se encoja.

Related Blocks:
{"func":"blockLooksSetSize"} ,     {"func":"valueLooksSize"}

Sample Code:
{"func":"blockLooksSetSize","values":[{"type":"number","value":"100"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeSizeBy","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"New Size:"},{"type":"wrapper","func":"valueLooksSize"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}} Add to my Backpack


{"func":"blockLooksSetSize"}

Establecer tamaño

"Establecer tamaño" fija el tamaño de un Actor en el porcentaje indicado.

Parameters:

Porcentaje: este parámetro indica en qué porcentaje crecerá tu Actor. Los números por debajo de 100 harán que tu Actor se encoja, mientras que los valores por encima de 100 harán que crezca.

Related Blocks:
{"func":"blockLooksChangeSizeBy"} ,     {"func":"valueLooksSize"}

Sample Code:
{"func":"blockLooksSetSize","values":[{"type":"number","value":"100"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeSizeBy","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"New Size:"},{"type":"wrapper","func":"valueLooksSize"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}} Add to my Backpack


{"func":"valueLooksSize"}

Tamaño

"Tamaño" devuelve el tamaño de un Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksChangeSizeBy"} ,     {"func":"blockLooksSetSize"}

Sample Code:
{"func":"blockLooksSay","values":[{"type":"string","value":"My size:"},{"type":"wrapper","func":"valueLooksSize"}]} Add to my Backpack


{"func":"blockLooksShow"}

Mostrar

"Mostrar" hace que un actor se muestre en el escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksHide"} ,     {"func":"valueLooksIsHidden"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoFront"}}]} Add to my Backpack


{"func":"blockLooksHide"}

Ocultar

"Ocultar" hace que un actor desaparezca del escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksShow"} ,     {"func":"valueLooksIsHidden"}

Sample Code:
{"func":"registerBroadcastTrigger","values":[{"type":"string","value":"GameOver"}],"next":{"func":"blockLooksHide"}} Add to my Backpack


{"func":"valueLooksIsHidden"}

Está oculto

"Está oculto" devuelve un valor verdadero cuando el Actor cuyo código estás editando está oculto, y falso cuando el Actor se está mostrando.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksShow"} ,     {"func":"blockLooksHide"}

Sample Code:
{"func":"blockControlIf","values":[{"type":"wrapper","func":"valueOpAnd","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"wrapper","func":"valueLooksIsHidden"}]}],"containers":[{"func":"blockLooksShow","next":{"func":"blockLooksGoFront"}}]} Add to my Backpack


{"func":"blockLooksChangeSizeBy"}

Cambiar tamaño

"Cambiar tamaño" cambia el tamaño de un Actor en el porcentaje indicado.

Parameters:

Porcentaje de cambio: este parámetro indica en qué porcentaje crecerá tu Actor. Puedes utilizar un número negativo para hacer que tu Actor se encoja.

Related Blocks:
{"func":"blockLooksSetSize"} ,     {"func":"valueLooksSize"}

Sample Code:
{"func":"blockLooksSetSize","values":[{"type":"number","value":"100"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeSizeBy","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"New Size:"},{"type":"wrapper","func":"valueLooksSize"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}} Add to my Backpack


{"func":"blockLooksSetSize"}

Establecer tamaño

"Establecer tamaño" fija el tamaño de un Actor en el porcentaje indicado.

Parameters:

Porcentaje: este parámetro indica en qué porcentaje crecerá tu Actor. Los números por debajo de 100 harán que tu Actor se encoja, mientras que los valores por encima de 100 harán que crezca.

Related Blocks:
{"func":"blockLooksChangeSizeBy"} ,     {"func":"valueLooksSize"}

Sample Code:
{"func":"blockLooksSetSize","values":[{"type":"number","value":"100"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeSizeBy","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"New Size:"},{"type":"wrapper","func":"valueLooksSize"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}} Add to my Backpack


{"func":"valueLooksSize"}

Tamaño

"Tamaño" devuelve el tamaño de un Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksChangeSizeBy"} ,     {"func":"blockLooksSetSize"}

Sample Code:
{"func":"blockLooksSay","values":[{"type":"string","value":"My size:"},{"type":"wrapper","func":"valueLooksSize"}]} Add to my Backpack


AR

{"func":"blockLooksVideo","values":[{"type":"choice","value":"on"}]}

Turn Video On/Off

"Turn Video On/Off" turns the video feed on (normally or mirrored) or off as specified.

Parameters:

Video state: This parameter dictates whether to turn the video on normally, on but horizontally flipped, or off.

Related Blocks:
{"func":"blockLooksVideoTransparency"} ,     {"func":"blockLooksVideoMask"} ,     {"func":"blockLooksTakeScreenshot"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksVideo","values":[{"type":"choice","value":"on"}]}} Add to my Backpack


{"func":"blockLooksVideoTransparency","values":[{"type":"number","value":"50"}]}

Set Video Transparency

"Set Video Transparency" changes the transparency of the video feed, letting all, some, or none of the Stage's background show through.

Parameters:

Video transparency: This parameter dictates how transparent the video feed will be. 0% will make the video opaque, obscuring the background; 100% will make the video fully transparent or invisible, revealing the background.

Related Blocks:
{"func":"blockLooksVideo"} ,     {"func":"blockLooksVideoMask"} ,     {"func":"blockLooksTakeScreenshot"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksVideo","values":[{"type":"choice","value":"on"}],"next":{"func":"blockLooksVideoTransparency","values":[{"type":"number","value":"50"}]}}} Add to my Backpack


{"func":"blockLooksTakeScreenshot"}

Take Screenshot

"Take Screenshot" captures an image of the project and saves the image to your computer or device.

Parameters:

None.

Related Blocks:
{"func":"blockLooksVideo"} ,     {"func":"blockLooksVideoTransparency"} ,     {"func":"blockLooksVideoMask"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksVideo","values":[{"type":"choice","value":"on"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":2}],"next":{"func":"blockLooksTakeScreenshot"}}}} Add to my Backpack


{"func":"blockLooksVideoMask","values":[{"type":"choice","value":"oval"},{"type":"number","value":"250"},{"type":"number","value":"300"}]}

Mask Video

"Mask Video" masks the outer bounds of the video feed, cropping the video to a smaller shape.

Parameters:

Shape: This parameter determines what shape the video should be masked to.

Width: This parameter sets how wide the masked video should be.

Height: This parameter sets how tall the masked video should be.

Related Blocks:
{"func":"blockLooksVideo"} ,     {"func":"blockLooksVideoTransparency"} ,     {"func":"blockLooksTakeScreenshot"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksVideo","values":[{"type":"choice","value":"on"}],"next":{"func":"blockLooksVideoTransparency","values":[{"type":"number","value":100}],"next":{"func":"blockLooksVideoMask","values":[{"type":"choice","value":"oval"},{"type":"number","value":400},{"type":"number","value":450}],"next":{"func":"blockLooksSwitchCostume","values":[{"type":"string","value":"Live Video"}]}}}}} Add to my Backpack


{"func":"blockLooksVideoGetColor","values":[{"type":"string","value":""}]}

Get Color From Video

"Get Color From Video" checks the color in the video feed underneath the current Actor and saves that color into the specified variable.

Parameters:

Variable: This is the name of the variable you want to save the color into.

Related Blocks:
{"func":"valueSensingVideoGetColor"} ,     {"func":"valueSensingVideo"}

Sample Code:
{"func":"blockLooksVideoGetColor","values":[{"type":"wrapper","func":"valueScriptVar","name":"myColor"}],"next":{"func":"blockPenSetColor","values":[{"type":"wrapper","func":"valueScriptVar","name":"myColor"}]}} Add to my Backpack


Costumes

{"func":"blockLooksNextBackgroundInGroup"}

Next Background Starting With

"Next Background Starting With" changes the background to the next background costume that starts with the given text.

Parameters:

Prefix: The background will switch to the next background costume with this prefix.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstBackgroundInGroup","values":[{"type":"string","value":"Sky"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"4"}],"containers":[{"func":"blockControlWait","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksNextBackgroundInGroup","values":[{"type":"string","value":"Sky"}]}}],"next":{"func":"blockLooksNextBackground"}}}} Add to my Backpack


{"func":"valueLooksBackground"}

Background #

"Background #" returns the current background number.

Parameters:

None.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerBackgroundChange","values":[{"type":"string","value":"any"}],"next":{"func":"blockLooksSay","values":[{"type":"wrapper","func":"valueLooksBackground"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksBackgroundName"}]}} Add to my Backpack


{"func":"valueLooksBackgroundName"}

Background Name

"Background Name" returns the current background name.

Parameters:

None.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"}

Sample Code:
{"func":"registerBackgroundChange","values":[{"type":"string","value":"any"}],"next":{"func":"blockLooksSay","values":[{"type":"wrapper","func":"valueLooksBackground"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksBackgroundName"}]}} Add to my Backpack


{"func":"blockLooksSwitchCostume"}

Cambiar a Disfraz

"Cambiar a disfraz" cambia el Disfraz del Actor al Disfraz especificado en el parámetro.

Parameters:

Nuevo Disfraz: este parámetro indica el nuevo Disfraz para el Actor.

Related Blocks:
{"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"registerSpriteTrigger","next":{"func":"blockLooksSwitchCostume","values":[{"type":"string","value":"ballet"}]}} Add to my Backpack


{"func":"blockLooksNextCostume"}

Siguiente Disfraz

"Siguiente Disfraz" cambia el Disfraz del Actor a su Disfraz siguiente.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"blockMotionGoTo","values":[{"type":"number","value":"10"},{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"5"}],"next":{"func":"blockLooksNextCostume"}}} Add to my Backpack


{"func":"blockLooksFirstCostumeInGroup"}

Primer Disfraz que comience con

"Primer Disfraz que comience con" cambia al primer Disfraz que comience con el texto especificado.

Parameters:

Prefijo: este parámetro debe ser el prefijo de uno de los Disfraces del Actor. Si, por ejemplo, tienes tres Disfraces denominados "camisa-verde", "camisa-azul" y "camisa-roja", puedes utilizar el prefijo "camisa" y el Actor se pondrá la "camisa-verde".

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstCostumeInGroup","values":[{"type":"string","value":"Shirt"}],"next":{"func":"blockControlForever","containers":[{"func":"blockControlWait","values":[{"type":"number","value":"1"}],"next":{"func":"blockLooksNextCostumeInGroup","values":[{"type":"string","value":"Shirt"}]}}]}}} Add to my Backpack


{"func":"blockLooksSwitchCostume"}

Switch to Costume

"Switch to Costume" changes the Actor’s Costume to the Costume specified by the parameter.

Parameters:

New Costume: This parameter will be the Actor’s new Costume.

Related Blocks:
{"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"registerSpriteTrigger","next":{"func":"blockLooksSwitchCostume","values":[{"type":"string","value":"ballet"}]}} Add to my Backpack


{"func":"blockLooksNextCostume"}

Next Costume

"Next Costume" changes the Actor’s Costume to its next Costume.

Parameters:

None.

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"blockMotionGoTo","values":[{"type":"number","value":"10"},{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"5"}],"next":{"func":"blockLooksNextCostume"}}} Add to my Backpack


{"func":"blockLooksFirstCostumeInGroup"}

First Costume Starting With

"First Costume Starting With" switches to the first Costume that starts with the specified text.

Parameters:

Prefix: This parameter should be a prefix of one of the Actor’s Costumes. Perhaps you have three Costumes named "shirt-green," "shirt-blue," and "shirt-red." You can use the prefix "shirt" and it will put on the "shirt-green."

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstCostumeInGroup","values":[{"type":"string","value":"Shirt"}],"next":{"func":"blockControlForever","containers":[{"func":"blockControlWait","values":[{"type":"number","value":"1"}],"next":{"func":"blockLooksNextCostumeInGroup","values":[{"type":"string","value":"Shirt"}]}}]}}} Add to my Backpack


{"func":"blockLooksNextCostumeInGroup"}

Next Costume Starting With

"Next Costume Starting With" switches to the next Costume that starts with the specified text.

Parameters:

Prefix: This parameter should be a prefix of at least one of the Actor’s Costumes. Your Actor’s Costume will change to the next Costume with this prefix.

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstCostumeInGroup","values":[{"type":"string","value":"Shirt"}],"next":{"func":"blockControlForever","containers":[{"func":"blockControlWait","values":[{"type":"number","value":"1"}],"next":{"func":"blockLooksNextCostumeInGroup","values":[{"type":"string","value":"Shirt"}]}}]}}} Add to my Backpack


{"func":"valueLooksCostumeNum"}

Costume #

"Costume #" returns the Actor’s current Costume number.

Parameters:

None.

Related Blocks:
{"func":"valueLooksCostumeName"} ,     {"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"blockLooksSetLabel","values":[{"type":"wrapper","func":"valueLooksCostumeNum"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksCostumeName"}]} Add to my Backpack


{"func":"valueLooksCostumeName"}

Costume Name

"Costume Name" returns the name of the Actor’s current Costume.

Parameters:

None.

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"} ,     {"func":"valueLooksCostumeNum"}

Sample Code:
{"func":"blockLooksSetLabel","values":[{"type":"wrapper","func":"valueLooksCostumeNum"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksCostumeName"}]} Add to my Backpack


{"func":"blockLooksBackgroundColor"}

Set Background Color

"Set Background Color" changes the background color to the specified color.

Parameters:

Color: This parameter indicates the color to set the background to.

Related Blocks:
{"func":"blockLooksSwitchBackground"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksBackgroundColor","values":[{"type":"color","value":"#00ffff"}]}} Add to my Backpack


{"func":"blockLooksSwitchBackground"}

Switch to Background

"Switch to Background" changes the background to the specified Costume name or number.

Parameters:

Background: This parameter indicates which background to switch to, and can be a name or a number.

Related Blocks:
{"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerBroadcastTrigger","values":[{"type":"string","value":"GameOver"}],"next":{"func":"blockLooksSwitchBackground","values":[{"type":"string","value":"GameOver"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#f60100"}],"next":{"func":"blockPenSetFont","values":[{"type":"choice","value":"bold"},{"type":"choice","value":"28"},{"type":"choice","value":"Arial,Helvetica,sans-serif"}],"next":{"func":"blockPenDrawTextAt","values":[{"type":"string","value":"Game Over:("},{"type":"number","value":"-85"},{"type":"number","value":"0"}]}}}}} Add to my Backpack


{"func":"blockLooksSwitchBackgroundAndWait"}

Switch to Background and Wait

"Switch to Background and Wait" changes the background to the specified Costume name and waits for any code under the "When Background Switches" event block to finish.

Parameters:

Background: This parameter indicates which background to switch to.

Related Blocks:
{"func":"registerBackgroundChange"}

Sample Code:
{"func":"registerSpriteTrigger","next":{"func":"blockLooksSwitchBackgroundAndWait","values":[{"type":"string","value":"beach"}],"next":{"func":"blockLooksSetBubble","values":[{"type":"choice","value":"excited"}],"next":{"func":"blockLooksThinkFor","values":[{"type":"string","value":"I'm so excited!!"},{"type":"number","value":"2"}]}}}} Add to my Backpack


{"func":"blockLooksNextBackground"}

Next Background

"Next Background" changes the background to the next background.

Parameters:

None.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockControlForever","containers":[{"func":"blockLooksNextBackground","next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}} Add to my Backpack


{"func":"blockLooksFirstBackgroundInGroup"}

First Background Starting With

"First Background Starting With" changes the background to the first Background that starts with the specified text.

Parameters:

Prefix: This parameter should be a prefix of one of the Stage's background costumes. The Stage background will switch to the first costume with this prefix.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstBackgroundInGroup","values":[{"type":"string","value":"Sky"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"4"}],"containers":[{"func":"blockControlWait","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksNextBackgroundInGroup","values":[{"type":"string","value":"Sky"}]}}],"next":{"func":"blockLooksNextBackground"}}}} Add to my Backpack


{"func":"blockLooksNextCostumeInGroup"}

Siguiente Disfraz que comience con

"Siguiente Disfraz que comience con" cambia al siguiente disfraz cuyo nombre comience con el texto especificado.

Parameters:

Prefijo: este parámetro debe ser el prefijo de al menos uno de los Disfraces del Actor. El Disfraz de tu Actor cambiará al siguiente Disfraz que tenga este prefijo.

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstCostumeInGroup","values":[{"type":"string","value":"Shirt"}],"next":{"func":"blockControlForever","containers":[{"func":"blockControlWait","values":[{"type":"number","value":"1"}],"next":{"func":"blockLooksNextCostumeInGroup","values":[{"type":"string","value":"Shirt"}]}}]}}} Add to my Backpack


{"func":"valueLooksCostumeNum"}

# de Disfraz

"# de Disfraz" devuelve el número del Disfraz actual del Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"valueLooksCostumeName"} ,     {"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"blockLooksSetLabel","values":[{"type":"wrapper","func":"valueLooksCostumeNum"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksCostumeName"}]} Add to my Backpack


{"func":"blockLooksBackgroundColor"}

Establecer color de fondo

"Establecer color de fondo" cambia el color de fondo al color especificado.

Parameters:

Color: este parámetro indica el nuevo color de fondo.

Related Blocks:
{"func":"blockLooksSwitchBackground"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksBackgroundColor","values":[{"type":"color","value":"#00ffff"}]}} Add to my Backpack


{"func":"blockLooksSwitchBackground"}

Cambiar a fondo

"Cambiar a fondo" cambia el fondo al número o nombre del Disfraz especificado.

Parameters:

Fondo: este parámetro indica a qué fondo se debe cambiar, y puede ser un nombre o un número.

Related Blocks:
{"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerBroadcastTrigger","values":[{"type":"string","value":"GameOver"}],"next":{"func":"blockLooksSwitchBackground","values":[{"type":"string","value":"GameOver"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#f60100"}],"next":{"func":"blockPenSetFont","values":[{"type":"choice","value":"bold"},{"type":"choice","value":"28"},{"type":"choice","value":"Arial,Helvetica,sans-serif"}],"next":{"func":"blockPenDrawTextAt","values":[{"type":"string","value":"Game Over:("},{"type":"number","value":"-85"},{"type":"number","value":"0"}]}}}}} Add to my Backpack


{"func":"blockLooksSwitchBackgroundAndWait"}

Cambiar a fondo y esperar

"Cambiar a fondo y esperar" cambia el fondo al nombre del Disfraz especificado y espera que cualquier código debajo del bloque de eventos "cuando el fondo cambie" termine.

Parameters:

Fondo: este parámetro indica a qué fondo se debe cambiar.

Related Blocks:
{"func":"registerBackgroundChange"}

Sample Code:
{"func":"registerSpriteTrigger","next":{"func":"blockLooksSwitchBackgroundAndWait","values":[{"type":"string","value":"beach"}],"next":{"func":"blockLooksSetBubble","values":[{"type":"choice","value":"excited"}],"next":{"func":"blockLooksThinkFor","values":[{"type":"string","value":"I'm so excited!!"},{"type":"number","value":"2"}]}}}} Add to my Backpack


{"func":"valueLooksBackgroundName"}

Nombre de fondo

"Nombre de fondo" devuelve el nombre del fondo actual.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"}

Sample Code:
{"func":"registerBackgroundChange","values":[{"type":"string","value":"any"}],"next":{"func":"blockLooksSay","values":[{"type":"wrapper","func":"valueLooksBackground"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksBackgroundName"}]}} Add to my Backpack


{"func":"valueLooksBackground"}

# de fondo

"# de fondo" devuelve el número del fondo actual.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerBackgroundChange","values":[{"type":"string","value":"any"}],"next":{"func":"blockLooksSay","values":[{"type":"wrapper","func":"valueLooksBackground"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksBackgroundName"}]}} Add to my Backpack


{"func":"blockLooksNextCostume"}

Siguiente Disfraz

"Siguiente Disfraz" cambia el Disfraz del Actor a su Disfraz siguiente.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"blockMotionGoTo","values":[{"type":"number","value":"10"},{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"5"}],"next":{"func":"blockLooksNextCostume"}}} Add to my Backpack


{"func":"blockLooksNextCostumeInGroup"}

Siguiente Disfraz que comience con

"Siguiente Disfraz que comience con" cambia al siguiente disfraz cuyo nombre comience con el texto especificado.

Parameters:

Prefijo: este parámetro debe ser el prefijo de al menos uno de los Disfraces del Actor. El Disfraz de tu Actor cambiará al siguiente Disfraz que tenga este prefijo.

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstCostumeInGroup","values":[{"type":"string","value":"Shirt"}],"next":{"func":"blockControlForever","containers":[{"func":"blockControlWait","values":[{"type":"number","value":"1"}],"next":{"func":"blockLooksNextCostumeInGroup","values":[{"type":"string","value":"Shirt"}]}}]}}} Add to my Backpack


{"func":"valueLooksCostumeNum"}

# de Disfraz

"# de Disfraz" devuelve el número del Disfraz actual del Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"valueLooksCostumeName"} ,     {"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"blockLooksSetLabel","values":[{"type":"wrapper","func":"valueLooksCostumeNum"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksCostumeName"}]} Add to my Backpack


{"func":"valueLooksCostumeName"}

Nombre del Disfraz

"Nombre del Disfraz" devuelve el nombre del Disfraz actual del Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"} ,     {"func":"valueLooksCostumeNum"}

Sample Code:
{"func":"blockLooksSetLabel","values":[{"type":"wrapper","func":"valueLooksCostumeNum"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksCostumeName"}]} Add to my Backpack


{"func":"blockLooksBackgroundColor"}

Establecer color de fondo

"Establecer color de fondo" cambia el color de fondo al color especificado.

Parameters:

Color: este parámetro indica el nuevo color de fondo.

Related Blocks:
{"func":"blockLooksSwitchBackground"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksBackgroundColor","values":[{"type":"color","value":"#00ffff"}]}} Add to my Backpack


{"func":"blockLooksSwitchBackground"}

Cambiar a fondo

"Cambiar a fondo" cambia el fondo al número o nombre del Disfraz especificado.

Parameters:

Fondo: este parámetro indica a qué fondo se debe cambiar, y puede ser un nombre o un número.

Related Blocks:
{"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerBroadcastTrigger","values":[{"type":"string","value":"GameOver"}],"next":{"func":"blockLooksSwitchBackground","values":[{"type":"string","value":"GameOver"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#f60100"}],"next":{"func":"blockPenSetFont","values":[{"type":"choice","value":"bold"},{"type":"choice","value":"28"},{"type":"choice","value":"Arial,Helvetica,sans-serif"}],"next":{"func":"blockPenDrawTextAt","values":[{"type":"string","value":"Game Over:("},{"type":"number","value":"-85"},{"type":"number","value":"0"}]}}}}} Add to my Backpack


{"func":"blockLooksSwitchBackgroundAndWait"}

Cambiar a fondo y esperar

"Cambiar a fondo y esperar" cambia el fondo al nombre del Disfraz especificado y espera que cualquier código debajo del bloque de eventos "cuando el fondo cambie" termine.

Parameters:

Fondo: este parámetro indica a qué fondo se debe cambiar.

Related Blocks:
{"func":"registerBackgroundChange"}

Sample Code:
{"func":"registerSpriteTrigger","next":{"func":"blockLooksSwitchBackgroundAndWait","values":[{"type":"string","value":"beach"}],"next":{"func":"blockLooksSetBubble","values":[{"type":"choice","value":"excited"}],"next":{"func":"blockLooksThinkFor","values":[{"type":"string","value":"I'm so excited!!"},{"type":"number","value":"2"}]}}}} Add to my Backpack


{"func":"blockLooksNextBackground"}

Siguiente fondo

"Siguiente fondo" cambia el fondo al siguiente.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockControlForever","containers":[{"func":"blockLooksNextBackground","next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}} Add to my Backpack


{"func":"blockLooksFirstBackgroundInGroup"}

Primer fondo que comience con

"Primer fondo que comience con" cambia el fondo al primer fondo que comience con el texto especificado.

Parameters:

Prefijo: este parámetro debe ser el prefijo de uno de los disfraces de fondo del escenario. El fondo del escenario cambiará al primer disfraz con este prefijo.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstBackgroundInGroup","values":[{"type":"string","value":"Sky"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"4"}],"containers":[{"func":"blockControlWait","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksNextBackgroundInGroup","values":[{"type":"string","value":"Sky"}]}}],"next":{"func":"blockLooksNextBackground"}}}} Add to my Backpack


{"func":"valueLooksBackground"}

# de fondo

"# de fondo" devuelve el número del fondo actual.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerBackgroundChange","values":[{"type":"string","value":"any"}],"next":{"func":"blockLooksSay","values":[{"type":"wrapper","func":"valueLooksBackground"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksBackgroundName"}]}} Add to my Backpack


{"func":"valueLooksBackgroundName"}

Nombre de fondo

"Nombre de fondo" devuelve el nombre del fondo actual.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"}

Sample Code:
{"func":"registerBackgroundChange","values":[{"type":"string","value":"any"}],"next":{"func":"blockLooksSay","values":[{"type":"wrapper","func":"valueLooksBackground"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksBackgroundName"}]}} Add to my Backpack


{"func":"valueLooksCostumeName"}

Nombre del Disfraz

"Nombre del Disfraz" devuelve el nombre del Disfraz actual del Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"} ,     {"func":"valueLooksCostumeNum"}

Sample Code:
{"func":"blockLooksSetLabel","values":[{"type":"wrapper","func":"valueLooksCostumeNum"},{"type":"string","value":":"},{"type":"wrapper","func":"valueLooksCostumeName"}]} Add to my Backpack


{"func":"blockLooksNextBackground"}

Siguiente fondo

"Siguiente fondo" cambia el fondo al siguiente.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockControlForever","containers":[{"func":"blockLooksNextBackground","next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}} Add to my Backpack


{"func":"blockLooksFirstBackgroundInGroup"}

Primer fondo que comience con

"Primer fondo que comience con" cambia el fondo al primer fondo que comience con el texto especificado.

Parameters:

Prefijo: este parámetro debe ser el prefijo de uno de los disfraces de fondo del escenario. El fondo del escenario cambiará al primer disfraz con este prefijo.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksNextBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstBackgroundInGroup","values":[{"type":"string","value":"Sky"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"4"}],"containers":[{"func":"blockControlWait","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksNextBackgroundInGroup","values":[{"type":"string","value":"Sky"}]}}],"next":{"func":"blockLooksNextBackground"}}}} Add to my Backpack


{"func":"blockLooksNextBackgroundInGroup"}

Siquiente fondo que comience con

"Siguiente fondo que comience con" cambia el fondo al siguiente disfraz de fondo que comience con el texto indicado.

Parameters:

Prefijo: el fondo cambiará al siguiente disfraz de fondo que comience con este prefijo.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstBackgroundInGroup","values":[{"type":"string","value":"Sky"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"4"}],"containers":[{"func":"blockControlWait","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksNextBackgroundInGroup","values":[{"type":"string","value":"Sky"}]}}],"next":{"func":"blockLooksNextBackground"}}}} Add to my Backpack


{"func":"blockLooksSwitchCostume"}

Cambiar a Disfraz

"Cambiar a disfraz" cambia el Disfraz del Actor al Disfraz especificado en el parámetro.

Parameters:

Nuevo Disfraz: este parámetro indica el nuevo Disfraz para el Actor.

Related Blocks:
{"func":"blockLooksNextCostume"} ,     {"func":"blockLooksFirstCostumeInGroup"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"registerSpriteTrigger","next":{"func":"blockLooksSwitchCostume","values":[{"type":"string","value":"ballet"}]}} Add to my Backpack


{"func":"blockLooksFirstCostumeInGroup"}

Primer Disfraz que comience con

"Primer Disfraz que comience con" cambia al primer Disfraz que comience con el texto especificado.

Parameters:

Prefijo: este parámetro debe ser el prefijo de uno de los Disfraces del Actor. Si, por ejemplo, tienes tres Disfraces denominados "camisa-verde", "camisa-azul" y "camisa-roja", puedes utilizar el prefijo "camisa" y el Actor se pondrá la "camisa-verde".

Related Blocks:
{"func":"blockLooksSwitchCostume"} ,     {"func":"blockLooksNextCostume"} ,     {"func":"blockLooksNextCostumeInGroup"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstCostumeInGroup","values":[{"type":"string","value":"Shirt"}],"next":{"func":"blockControlForever","containers":[{"func":"blockControlWait","values":[{"type":"number","value":"1"}],"next":{"func":"blockLooksNextCostumeInGroup","values":[{"type":"string","value":"Shirt"}]}}]}}} Add to my Backpack


{"func":"blockLooksNextBackgroundInGroup"}

Siquiente fondo que comience con

"Siguiente fondo que comience con" cambia el fondo al siguiente disfraz de fondo que comience con el texto indicado.

Parameters:

Prefijo: el fondo cambiará al siguiente disfraz de fondo que comience con este prefijo.

Related Blocks:
{"func":"blockLooksSwitchBackground"} ,     {"func":"blockLooksNextBackground"} ,     {"func":"blockLooksFirstBackgroundInGroup"} ,     {"func":"valueLooksBackground"} ,     {"func":"valueLooksBackgroundName"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockLooksFirstBackgroundInGroup","values":[{"type":"string","value":"Sky"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"4"}],"containers":[{"func":"blockControlWait","values":[{"type":"number","value":"10"}],"next":{"func":"blockLooksNextBackgroundInGroup","values":[{"type":"string","value":"Sky"}]}}],"next":{"func":"blockLooksNextBackground"}}}} Add to my Backpack


Special Effects

{"func":"blockLooksChangeEffect"}

Change Effect

"Change Effect" changes the specified effect by the specified value.

Parameters:

Effect: This parameter indicates what type of effect you want to change. Options include "color," "fisheye," "whirl," "pixelate," "mosaic," "brightness," and "ghost."

Intensity: This parameter is a number that indicates how much intensity of the effect you are changing should increase.

Related Blocks:
{"func":"blockLooksSetEffect"} ,     {"func":"blockLooksClearEffects"}

Sample Code:
{"func":"blockLooksSetEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"0"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"25"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}],"next":{"func":"blockLooksClearEffects"}}} Add to my Backpack


{"func":"blockLooksSetEffect"}

Set Effect

"Set Effect" sets the specified effect to the specified value.

Parameters:

Effect: This parameter indicates what type of effect you want to set. Options include "color," "fisheye," "whirl," "pixelate," "mosaic," "brightness," and "ghost."

Intensity: This parameter is a number that indicates the intensity of the effect.

Related Blocks:
{"func":"blockLooksChangeEffect"} ,     {"func":"blockLooksClearEffects"}

Sample Code:
{"func":"blockLooksSetEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"0"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"25"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}],"next":{"func":"blockLooksClearEffects"}}} Add to my Backpack


{"func":"blockLooksClearEffects"}

Clear Graphic Effects

"Clear Graphic Effects" resets all the graphic effects of an Actor.

Parameters:

None.

Related Blocks:
{"func":"blockLooksChangeEffect"} ,     {"func":"blockLooksSetEffect"}

Sample Code:
{"func":"blockLooksSetEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"0"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"25"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}],"next":{"func":"blockLooksClearEffects"}}} Add to my Backpack


{"func":"blockLooksSetEffect"}

Establecer efecto

"Establecer efecto" determina la intensidad del efecto indicado al valor especificado.

Parameters:

Efecto: este parámetro indica qué tipo de efecto deseas cambiar. Las opciones incluyen "color", "ojo de pescado", "remolino", "pixelar", "mosaico", "brillo" y "fantasma".

Intensidad: este parámetro es un número que indica la intensidad del efecto.

Related Blocks:
{"func":"blockLooksChangeEffect"} ,     {"func":"blockLooksClearEffects"}

Sample Code:
{"func":"blockLooksSetEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"0"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"25"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}],"next":{"func":"blockLooksClearEffects"}}} Add to my Backpack


{"func":"blockLooksChangeEffect"}

Cambiar efecto

"Cambiar efecto" aumenta o disminuye la intensidad del efecto indicado en la cantidad especificada.

Parameters:

Efecto: este parámetro indica qué tipo de efecto deseas cambiar. Las opciones incluyen "color", "ojo de pescado", "remolino", "pixelar", "mosaico", "brillo" y "fantasma".

Intensidad: este parámetro es un número que indica cuánto debe aumentar o disminuir la intensidad del efecto seleccionado.

Related Blocks:
{"func":"blockLooksSetEffect"} ,     {"func":"blockLooksClearEffects"}

Sample Code:
{"func":"blockLooksSetEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"0"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"25"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}],"next":{"func":"blockLooksClearEffects"}}} Add to my Backpack


{"func":"blockLooksClearEffects"}

Borrar efectos gráficos

"Borrar efectos gráficos" reinicia todos los efectos gráficos aplicados a un Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksChangeEffect"} ,     {"func":"blockLooksSetEffect"}

Sample Code:
{"func":"blockLooksSetEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"0"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"25"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}],"next":{"func":"blockLooksClearEffects"}}} Add to my Backpack


{"func":"blockLooksChangeEffect"}

Cambiar efecto

"Cambiar efecto" aumenta o disminuye la intensidad del efecto indicado en la cantidad especificada.

Parameters:

Efecto: este parámetro indica qué tipo de efecto deseas cambiar. Las opciones incluyen "color", "ojo de pescado", "remolino", "pixelar", "mosaico", "brillo" y "fantasma".

Intensidad: este parámetro es un número que indica cuánto debe aumentar o disminuir la intensidad del efecto seleccionado.

Related Blocks:
{"func":"blockLooksSetEffect"} ,     {"func":"blockLooksClearEffects"}

Sample Code:
{"func":"blockLooksSetEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"0"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"25"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}],"next":{"func":"blockLooksClearEffects"}}} Add to my Backpack


{"func":"blockLooksSetEffect"}

Establecer efecto

"Establecer efecto" determina la intensidad del efecto indicado al valor especificado.

Parameters:

Efecto: este parámetro indica qué tipo de efecto deseas cambiar. Las opciones incluyen "color", "ojo de pescado", "remolino", "pixelar", "mosaico", "brillo" y "fantasma".

Intensidad: este parámetro es un número que indica la intensidad del efecto.

Related Blocks:
{"func":"blockLooksChangeEffect"} ,     {"func":"blockLooksClearEffects"}

Sample Code:
{"func":"blockLooksSetEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"0"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"25"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}],"next":{"func":"blockLooksClearEffects"}}} Add to my Backpack


{"func":"blockLooksClearEffects"}

Borrar efectos gráficos

"Borrar efectos gráficos" reinicia todos los efectos gráficos aplicados a un Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockLooksChangeEffect"} ,     {"func":"blockLooksSetEffect"}

Sample Code:
{"func":"blockLooksSetEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"0"}],"next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockLooksChangeEffect","values":[{"type":"choice","value":"color"},{"type":"number","value":"25"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}],"next":{"func":"blockLooksClearEffects"}}} Add to my Backpack