Pen Blocks

Shapes

{"func":"blockPenDrawTriangle"}

Draw Triangle

"Draw Triangle" draws a triangle with vertices at the given coordinates (X1, Y1), (X2, Y2) and (X3, Y3).

Parameters:

X1: This is the X coordinate of the first vertex of the triangle.

Y1: This is the Y coordinate of the first vertex of the triangle.

X2: This is the X coordinate of the second vertex of the triangle.

Y2: This is the Y coordinate of the second vertex of the triangle.

X3: This is the X coordinate of the third vertex of the triangle.

Y3: This is the Y coordinate of the third vertex of the triangle.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenDrawTriangle","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"},{"type":"number","value":"-100"},{"type":"number","value":"100"}]} Add to my Backpack


{"func":"blockPenDrawEllipse"}

Draw Ellipse At

"Draw Ellipse At" draws an ellipse with a center at the supplied X and Y coordinates and with the given width and height.

Parameters:

X: This is the X coordinate of the center of the ellipse that will be drawn.

Y: This is the Y coordinate of the center of the ellipse that will be drawn.

Width: This number is the width of the ellipse that will be drawn.

Height: This number is the height of the ellipse that will be drawn.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawEllipseLocal"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetShade","values":[{"type":"number","value":"50"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#a4a4a4"}],"next":{"func":"blockPenDrawEllipse","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenDrawEllipseLocal"}

Draw Ellipse

"Draw Ellipse" draws an ellipse with the center at the Actor’s current position and the given width and height.

Parameters:

Width: This number is the width of the ellipse that will be drawn.

Height: This number is the height of the ellipse that will be drawn.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#6a7aff"}],"next":{"func":"blockPenDrawEllipseLocal","values":[{"type":"number","value":"30"},{"type":"number","value":"30"}]}}} Add to my Backpack


{"func":"blockPenClearRect"}

Clear Rectangle At

"Clear Rectangle At" clears a rectangle with the origin at the supplied X and Y coordinates and with the given width and height.

Parameters:

X: This is the X coordinate of the origin of the rectangle that will be cleared.

Y: This is the Y coordinate of the origin of the rectangle that will be cleared.

Width: This number is the width of the rectangle that will be cleared.

Height: This number is the height of the rectangle that will be cleared.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawRectangleLocal"} ,     {"func":"blockPenClearTriangle"} ,     {"func":"blockPenClearEllipse"}

Sample Code:
{"func":"blockPenDown","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenClearRect","values":[{"type":"number","value":"10"},{"type":"number","value":"10"},{"type":"number","value":"50"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenDrawPoint"}

Draw Point At

"Draw Point At" draws a point at the specified X and Y coordinates.

Parameters:

X: This is the X coordinate of the point that will be drawn.

Y: This is the Y coordinate of the point that will be drawn.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenDrawPoint","values":[{"type":"wrapper","func":"valueOpRandom","values":[{"type":"number","value":"1"},{"type":"number","value":"100"}]},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"number","value":"1"},{"type":"number","value":"100"}]}]} Add to my Backpack


{"func":"blockPenDrawRectangle"}

Draw Rectangle At

"Draw Rectangle At" draws a rectangle with the origin at the supplied X and Y coordinates and with the given width and height.

Parameters:

X: This is the X coordinate of the origin of the rectangle that will be drawn.

Y: This is the Y coordinate of the origin of the rectangle that will be drawn.

Width: This number is the width of the rectangle that will be drawn.

Height: This number is the height of the rectangle that will be drawn.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawEllipse"} ,     {"func":"blockPenDrawRectangleLocal"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"10"},{"type":"number","value":"10"},{"type":"number","value":"5"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenDrawRectangle"}

Trazar rectángulo en

"Trazar rectángulo en" dibuja un rectángulo con origen en las coordenadas X e Y provistas y con el ancho y alto indicados.

Parameters:

X. es la coordenada X del origen del rectángulo a dibujar.

Y: es la coordenada Y del origen del rectángulo a dibujar.

Ancho: es el ancho del rectángulo a dibujar.

Alto: este número es la altura del rectángulo a dibujar.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawEllipse"} ,     {"func":"blockPenDrawRectangleLocal"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"10"},{"type":"number","value":"10"},{"type":"number","value":"5"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenDrawLine"}

Draw Line

"Draw Line" draws a line starting at the supplied X1 and Y1 coordinates and ending at the supplied X2 and Y2 coordinates.

Parameters:

X1: This is the X coordinate of the first point of the line.

Y2: This is the Y coordinate of the first point of the line.

X2: This is the X coordinate of the second point of the line.

Y2: This is the Y coordinate of the second point of the line.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockPenDrawLine","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenLeft"},{"type":"wrapper","func":"valueSensingScreenRight"}]},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenBottom"},{"type":"wrapper","func":"valueSensingScreenTop"}]}]}]}} Add to my Backpack


{"func":"blockPenDrawRectangleLocal"}

Draw Rectangle

"Draw Rectangle" draws a rectangle with the origin at the Actor’s current position and the given width and height

Parameters:

Width: This number is the width of the rectangle that will be drawn.

Height: This number is the height of the rectangle that will be drawn.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenDrawRectangleLocal","values":[{"type":"number","value":"10"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenDrawBezier"}

Draw Bezier

"Draw Bezier" draws a bezier curve with the given points.

Parameters:

X1: This is the X coordinate of the first point of the bezier.

Y1: This is the Y coordinate of the first point of the bezier.

X2: This is the X coordinate of the second point of the bezier.

Y2: This is the Y coordinate of the second point of the bezier.

CX1: This is the X coordinate of the first control point of the bezier.

CY1: This is the Y coordinate of the first control point of the bezier.

CX2: This is the X coordinate of the second control point of the bezier.

CY2: This is the Y coordinate of the second control point of the bezier.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenDrawBezier","values":[{"type":"number","value":"10"},{"type":"number","value":"10"},{"type":"number","value":"50"},{"type":"number","value":"50"},{"type":"number","value":"20"},{"type":"number","value":"15"},{"type":"number","value":"43"},{"type":"number","value":"23"}]} Add to my Backpack


{"func":"blockPenClearTriangle"}

Clear Triangle

"Clear Triangle" clears a triangle with vertices at the given coordinates (X1, Y1), (X2, Y2) and (X3, Y3).

Parameters:

X1: This is the X coordinate of the first vertex of the triangle.

Y1: This is the Y coordinate of the first vertex of the triangle.

X2: This is the X coordinate of the second vertex of the triangle.

Y2: This is the Y coordinate of the second vertex of the triangle.

X3: This is the X coordinate of the third vertex of the triangle.

Y3: This is the Y coordinate of the third vertex of the triangle.

Related Blocks:
{"func":"blockPenDrawTriangle"} ,     {"func":"blockPenClearRect"} ,     {"func":"blockPenClearEllipse"}

Sample Code:
{"func":"blockPenClearTriangle","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"},{"type":"number","value":"-100"},{"type":"number","value":"100"}]} Add to my Backpack


{"func":"blockPenClearEllipse"}

Clear Ellipse At

"Clear Ellipse At" clears an ellipse with a center at the supplied X and Y coordinates and with the given width and height.

Parameters:

X: This is the X coordinate of the center of the ellipse that will be cleared.

Y: This is the Y coordinate of the center of the ellipse that will be cleared.

Width: This number is the width of the ellipse that will be cleared.

Height: This number is the height of the ellipse that will be cleared.

Related Blocks:
{"func":"blockPenDrawEllipse"} ,     {"func":"blockPenClearRect"} ,     {"func":"blockPenClearTriangle"}

Sample Code:
{"func":"registerTrigger","values":[{"type":"wrapper","func":"valueSensingMouseDown"}],"next":{"func":"blockPenClearEllipse","values":[{"type":"wrapper","func":"valueSensingMouseX"},{"type":"wrapper","func":"valueSensingMouseY"},{"type":"number","value":20},{"type":"number","value":20}]}} Add to my Backpack


{"func":"blockPenDrawPoint"}

Dibujar punto en

"Dibujar punto en" dibuja un punto en las coordenadas X e Y especificadas.

Parameters:

X: es la coordenada X del punto que va a dibujarse.

Y: es la coordenada Y del punto que va a dibujarse.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenDrawPoint","values":[{"type":"wrapper","func":"valueOpRandom","values":[{"type":"number","value":"1"},{"type":"number","value":"100"}]},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"number","value":"1"},{"type":"number","value":"100"}]}]} Add to my Backpack


{"func":"blockPenDrawLine"}

Trazar línea

"Trazar línea" dibuja una línea desde las coordenadas X1 e Y1 hasta las coordenadas X2 e Y2 indicadas.

Parameters:

X1: es la coordenada X del primer punto de la línea.

Y1: es la coordenada Y del primer punto de la línea.

X2: es la coordenada X del segundo punto de la línea.

Y2: es la coordenada Y del segundo punto de la línea.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockPenDrawLine","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenLeft"},{"type":"wrapper","func":"valueSensingScreenRight"}]},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenBottom"},{"type":"wrapper","func":"valueSensingScreenTop"}]}]}]}} Add to my Backpack


{"func":"blockPenDrawRectangleLocal"}

Trazar rectángulo

"Trazar rectángulo" dibuja un rectángulo con origen en la posición actual del Actor y con el ancho y alto especificados.

Parameters:

Ancho: este número es el ancho del rectángulo a dibujar.

Alto: este número es la altura del rectángulo a dibujar.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenDrawRectangleLocal","values":[{"type":"number","value":"10"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenDrawEllipse"}

Trazar elipse en

"Trazar elipse en" dibuja una elipse con el centro en las coordenadas X e Y provistas y con el ancho y alto indicados.

Parameters:

X: es la coordenada X del centro de la elipse a dibujar.

Y: es la coordenada Y del centro de la elipse a dibujar.

Ancho: este número es el ancho de la elipse a dibujar.

Alto: este número es la altura de la elipse a dibujar.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawEllipseLocal"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetShade","values":[{"type":"number","value":"50"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#a4a4a4"}],"next":{"func":"blockPenDrawEllipse","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenDrawBezier"}

Trazar curva

"Trazar curva" dibuja una curva Bézier con los puntos indicados.

Parameters:

X1: es la coordenada X del primer punto de la curva.

Y1: es la coordenada Y del primer punto de la curva.

X2: es la coordenada X del segundo punto de la curva.

Y2: es la coordenada Y del segundo punto de la curva.

CX1: es la coordenada X del primer punto de control de la curva.

CY1: es la coordenada Y del primer punto de control de la curva.

CX2: es la coordenada X del segundo punto de control de la curva.

CY2: es la coordenada Y del segundo punto de control de la curva.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenDrawBezier","values":[{"type":"number","value":"10"},{"type":"number","value":"10"},{"type":"number","value":"50"},{"type":"number","value":"50"},{"type":"number","value":"20"},{"type":"number","value":"15"},{"type":"number","value":"43"},{"type":"number","value":"23"}]} Add to my Backpack


{"func":"blockPenClearRect"}

Borrar rectángulo en

"Borrar rectángulo en" borra un rectángulo con origen en las coordenadas X e Y provistas y con el ancho y alto indicados.

Parameters:

X: es la coordenada X del origen del rectángulo a borrar.

Y: es la coordenada Y del origen del rectángulo a borrar.

Ancho: este número es el ancho del rectángulo a borrar.

Alto: este número es la altura del rectángulo a borrar.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawRectangleLocal"} ,     {"func":"blockPenClearTriangle"} ,     {"func":"blockPenClearEllipse"}

Sample Code:
{"func":"blockPenDown","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenClearRect","values":[{"type":"number","value":"10"},{"type":"number","value":"10"},{"type":"number","value":"50"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenDrawPoint"}

Dibujar punto en

"Dibujar punto en" dibuja un punto en las coordenadas X e Y especificadas.

Parameters:

X: es la coordenada X del punto que va a dibujarse.

Y: es la coordenada Y del punto que va a dibujarse.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenDrawPoint","values":[{"type":"wrapper","func":"valueOpRandom","values":[{"type":"number","value":"1"},{"type":"number","value":"100"}]},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"number","value":"1"},{"type":"number","value":"100"}]}]} Add to my Backpack


{"func":"blockPenDrawLine"}

Trazar línea

"Trazar línea" dibuja una línea desde las coordenadas X1 e Y1 hasta las coordenadas X2 e Y2 indicadas.

Parameters:

X1: es la coordenada X del primer punto de la línea.

Y1: es la coordenada Y del primer punto de la línea.

X2: es la coordenada X del segundo punto de la línea.

Y2: es la coordenada Y del segundo punto de la línea.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockPenDrawLine","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenLeft"},{"type":"wrapper","func":"valueSensingScreenRight"}]},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenBottom"},{"type":"wrapper","func":"valueSensingScreenTop"}]}]}]}} Add to my Backpack


{"func":"blockPenDrawRectangle"}

Trazar rectángulo en

"Trazar rectángulo en" dibuja un rectángulo con origen en las coordenadas X e Y provistas y con el ancho y alto indicados.

Parameters:

X. es la coordenada X del origen del rectángulo a dibujar.

Y: es la coordenada Y del origen del rectángulo a dibujar.

Ancho: es el ancho del rectángulo a dibujar.

Alto: este número es la altura del rectángulo a dibujar.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawEllipse"} ,     {"func":"blockPenDrawRectangleLocal"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"10"},{"type":"number","value":"10"},{"type":"number","value":"5"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenDrawRectangleLocal"}

Trazar rectángulo

"Trazar rectángulo" dibuja un rectángulo con origen en la posición actual del Actor y con el ancho y alto especificados.

Parameters:

Ancho: este número es el ancho del rectángulo a dibujar.

Alto: este número es la altura del rectángulo a dibujar.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenDrawRectangleLocal","values":[{"type":"number","value":"10"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenDrawTriangle"}

Trazar triángulo

"Trazar triángulo" dibuja un triángulo con vértices en las coordenadas indicadas (X1, Y1), (X2, Y2) y (X3, Y3).

Parameters:

X1: es la coordenada X del primer vértice del triángulo.

Y1: es la coordenada Y del primer vértice del triángulo.

X2: es la coordenada X del segundo vértice del triángulo.

Y2: es la coordenada Y del segundo vértice del triángulo.

X3: es la coordenada X del tercer vértice del triángulo.

Y3: es la coordenada Y del tercer vértice del triángulo.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenDrawTriangle","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"},{"type":"number","value":"-100"},{"type":"number","value":"100"}]} Add to my Backpack


{"func":"blockPenDrawEllipse"}

Trazar elipse en

"Trazar elipse en" dibuja una elipse con el centro en las coordenadas X e Y provistas y con el ancho y alto indicados.

Parameters:

X: es la coordenada X del centro de la elipse a dibujar.

Y: es la coordenada Y del centro de la elipse a dibujar.

Ancho: este número es el ancho de la elipse a dibujar.

Alto: este número es la altura de la elipse a dibujar.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawEllipseLocal"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetShade","values":[{"type":"number","value":"50"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#a4a4a4"}],"next":{"func":"blockPenDrawEllipse","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenDrawEllipseLocal"}

Trazar elipse

"Trazar elipse" dibuja una elipse con centro en la posición actual del Actor y con el ancho y alto especificados.

Parameters:

Ancho: este número es el ancho de la elipse a dibujar.

Alto: este número es la altura de la elipse a dibujar.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#6a7aff"}],"next":{"func":"blockPenDrawEllipseLocal","values":[{"type":"number","value":"30"},{"type":"number","value":"30"}]}}} Add to my Backpack


{"func":"blockPenDrawBezier"}

Trazar curva

"Trazar curva" dibuja una curva Bézier con los puntos indicados.

Parameters:

X1: es la coordenada X del primer punto de la curva.

Y1: es la coordenada Y del primer punto de la curva.

X2: es la coordenada X del segundo punto de la curva.

Y2: es la coordenada Y del segundo punto de la curva.

CX1: es la coordenada X del primer punto de control de la curva.

CY1: es la coordenada Y del primer punto de control de la curva.

CX2: es la coordenada X del segundo punto de control de la curva.

CY2: es la coordenada Y del segundo punto de control de la curva.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawTriangle"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenDrawBezier","values":[{"type":"number","value":"10"},{"type":"number","value":"10"},{"type":"number","value":"50"},{"type":"number","value":"50"},{"type":"number","value":"20"},{"type":"number","value":"15"},{"type":"number","value":"43"},{"type":"number","value":"23"}]} Add to my Backpack


{"func":"blockPenClearRect"}

Borrar rectángulo en

"Borrar rectángulo en" borra un rectángulo con origen en las coordenadas X e Y provistas y con el ancho y alto indicados.

Parameters:

X: es la coordenada X del origen del rectángulo a borrar.

Y: es la coordenada Y del origen del rectángulo a borrar.

Ancho: este número es el ancho del rectángulo a borrar.

Alto: este número es la altura del rectángulo a borrar.

Related Blocks:
{"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawRectangleLocal"} ,     {"func":"blockPenClearTriangle"} ,     {"func":"blockPenClearEllipse"}

Sample Code:
{"func":"blockPenDown","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenClearRect","values":[{"type":"number","value":"10"},{"type":"number","value":"10"},{"type":"number","value":"50"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenDrawTriangle"}

Trazar triángulo

"Trazar triángulo" dibuja un triángulo con vértices en las coordenadas indicadas (X1, Y1), (X2, Y2) y (X3, Y3).

Parameters:

X1: es la coordenada X del primer vértice del triángulo.

Y1: es la coordenada Y del primer vértice del triángulo.

X2: es la coordenada X del segundo vértice del triángulo.

Y2: es la coordenada Y del segundo vértice del triángulo.

X3: es la coordenada X del tercer vértice del triángulo.

Y3: es la coordenada Y del tercer vértice del triángulo.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawEllipse"}

Sample Code:
{"func":"blockPenDrawTriangle","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"},{"type":"number","value":"-100"},{"type":"number","value":"100"}]} Add to my Backpack


{"func":"blockPenDrawEllipseLocal"}

Trazar elipse

"Trazar elipse" dibuja una elipse con centro en la posición actual del Actor y con el ancho y alto especificados.

Parameters:

Ancho: este número es el ancho de la elipse a dibujar.

Alto: este número es la altura de la elipse a dibujar.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#6a7aff"}],"next":{"func":"blockPenDrawEllipseLocal","values":[{"type":"number","value":"30"},{"type":"number","value":"30"}]}}} Add to my Backpack


Pen Drawing

{"func":"blockPenUp"}

Subir lápiz

"Subir lápiz" hace que el lápiz deje de trazar el trayecto del Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenUp"}} Add to my Backpack


{"func":"blockPenChangeSize"}

Cambiar tamaño de lápiz

"Cambiar tamaño de lápiz" cambia el grosor del lápiz en la cantidad especificada.

Parameters:

Aumento de tamaño: el tamaño del lápiz aumentará en esta cantidad. Utiliza un valor negativo para hacer que el lápiz escriba más fino.

Related Blocks:
{"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetShade"} ,     {"func":"blockPenSetSize"}

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


{"func":"blockPenSetSize"}

Fijar tamaño de lápiz

"Fijar tamaño de lápiz" establece el grosor del lápiz al valor indicado.

Parameters:

Tamaño: el tamaño del lápiz se fijará como este valor. Cuanto menor sea este valor, más fino trazará el lápiz.

Related Blocks:
{"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetShade"} ,     {"func":"blockPenChangeSize"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenClear"}

Clear

"Clear" clears all markings made by the pen or stamp.

Parameters:

None.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenDown"}

Pen Down

"Pen Down" allows the pen to begin tracing the Actor’s path.

Parameters:

None.

Related Blocks:
{"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenDown"}} Add to my Backpack


{"func":"blockPenUp"}

Pen Up

"Pen Up" stops the pen from tracing the Actor’s path.

Parameters:

None.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenUp"}} Add to my Backpack


{"func":"blockPenChangeSize"}

Change Pen Size

"Change Pen Size" changes the pen’s thickness by the specified amount.

Parameters:

Size Increase: The pen’s size will increase by this number. Use a negative number to make the pen thinner.

Related Blocks:
{"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetShade"} ,     {"func":"blockPenSetSize"}

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


{"func":"blockPenSetSize"}

Set Pen Size

"Set Pen Size" sets the pen thickness to the specified value.

Parameters:

Size: The pen’s size will be set to this number. The smaller the number, the thinner the pen.

Related Blocks:
{"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetShade"} ,     {"func":"blockPenChangeSize"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenStamp"}

Stamp

"Stamp" stamps an image of the Actor on the Stage.

Parameters:

None.

Related Blocks:
{"func":"blockPenClear"}

Sample Code:
{"func":"blockControlForever","containers":[{"func":"blockMotionGoTo","values":[{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenLeft"},{"type":"wrapper","func":"valueSensingScreenRight"}]},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenBottom"},{"type":"wrapper","func":"valueSensingScreenTop"}]}],"next":{"func":"blockPenStamp","next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]} Add to my Backpack


{"func":"blockPenDown"}

Bajar lápiz

"Bajar lápiz" permite que el lápiz empiece a trazar el trayecto del Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenDown"}} Add to my Backpack


{"func":"blockPenStamp"}

Estampar

"Estampar" estampa una imagen del Actor en el escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenClear"}

Sample Code:
{"func":"blockControlForever","containers":[{"func":"blockMotionGoTo","values":[{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenLeft"},{"type":"wrapper","func":"valueSensingScreenRight"}]},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenBottom"},{"type":"wrapper","func":"valueSensingScreenTop"}]}],"next":{"func":"blockPenStamp","next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]} Add to my Backpack


{"func":"blockPenClear"}

Borrar

"Borrar" elimina todas las marcas realizadas por un lápiz o sello.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenClear"}

Borrar

"Borrar" elimina todas las marcas realizadas por un lápiz o sello.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenDown"}

Bajar lápiz

"Bajar lápiz" permite que el lápiz empiece a trazar el trayecto del Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenDown"}} Add to my Backpack


{"func":"blockPenUp"}

Subir lápiz

"Subir lápiz" hace que el lápiz deje de trazar el trayecto del Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenUp"}} Add to my Backpack


{"func":"blockPenChangeSize"}

Cambiar tamaño de lápiz

"Cambiar tamaño de lápiz" cambia el grosor del lápiz en la cantidad especificada.

Parameters:

Aumento de tamaño: el tamaño del lápiz aumentará en esta cantidad. Utiliza un valor negativo para hacer que el lápiz escriba más fino.

Related Blocks:
{"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetShade"} ,     {"func":"blockPenSetSize"}

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


{"func":"blockPenSetSize"}

Fijar tamaño de lápiz

"Fijar tamaño de lápiz" establece el grosor del lápiz al valor indicado.

Parameters:

Tamaño: el tamaño del lápiz se fijará como este valor. Cuanto menor sea este valor, más fino trazará el lápiz.

Related Blocks:
{"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetShade"} ,     {"func":"blockPenChangeSize"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenStamp"}

Estampar

"Estampar" estampa una imagen del Actor en el escenario.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenClear"}

Sample Code:
{"func":"blockControlForever","containers":[{"func":"blockMotionGoTo","values":[{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenLeft"},{"type":"wrapper","func":"valueSensingScreenRight"}]},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"wrapper","func":"valueSensingScreenBottom"},{"type":"wrapper","func":"valueSensingScreenTop"}]}],"next":{"func":"blockPenStamp","next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]} Add to my Backpack


Color

{"func":"blockPenSetShade"}

Fijar intensidad de lápiz

"Fijar intensidad de lápiz" establece la intensidad (brillo) del lápiz al valor especificado.

Parameters:

Intensidad: la intensidad del lápiz se establecerá en este número. Números más altos indican trazos más claros.

Related Blocks:
{"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenChangeSize"} ,     {"func":"blockPenSetSize"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetShade","values":[{"type":"number","value":"50"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#a4a4a4"}],"next":{"func":"blockPenDrawEllipse","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenSetColor"}

Set Pen Color

"Set Pen Color" sets the color of the pen to the color specified by the parameter (colors are represented as hexadecimal numbers).

Parameters:

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

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenChangeHue"}

Change Pen Color

"Change Pen Color" increases the color by the number specified by the parameter.

Parameters:

Color Change: The pen’s color, represented by a hexadecimal number, will increase by this number.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#ffffff"}],"next":{"func":"blockControlForever","containers":[{"func":"blockPenChangeHue","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}}} Add to my Backpack


{"func":"blockPenSetHue"}

Set Pen Color

"Set Pen Color" sets the color of the pen to the color specified by the parameter (colors are represented as hexadecimal numbers).

Parameters:

Color: The pen’s color, represented by a hexadecimal number, will be set to this number.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#ffffff"}],"next":{"func":"blockControlForever","containers":[{"func":"blockPenChangeHue","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}}} Add to my Backpack


{"func":"blockPenChangeShade"}

Change Pen Shade

"Change Pen Shade" changes the pen’s shade (lightness) by the specified amount.

Parameters:

Shade Increase: The pen’s shade will increase by this number. Higher numbers indicate lighter shades, so use a negative number if you want to make the pen darker.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#ffffff"}],"next":{"func":"blockControlForever","containers":[{"func":"blockPenChangeShade","values":[{"type":"number","value":"10"}],"next":{"func":"blockPenChangeHue","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}}} Add to my Backpack


{"func":"blockPenSetShade"}

Set Pen Shade

"Set Pen Shade" sets the pen’s shade (lightness) to the specified amount.

Parameters:

Shade: The pen’s shade will be set to this number. Higher numbers indicate lighter shades.

Related Blocks:
{"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenChangeSize"} ,     {"func":"blockPenSetSize"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetShade","values":[{"type":"number","value":"50"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#a4a4a4"}],"next":{"func":"blockPenDrawEllipse","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenSetFillColor"}

Set Fill Color

"Set Fill Color" sets the color to fill in any shapes that you draw.

Parameters:

Color: This parameter is a color, represented by a hexadecimal number, that your shapes will be filled in with.

Related Blocks:
{"func":"blockPenSetNoFill"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenSetNoFill"}

No Fill

"No Fill" causes any shapes you draw to have no fill color.

Parameters:

None.

Related Blocks:
{"func":"blockPenSetFillColor"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenDrawRectangleLocal","values":[{"type":"number","value":"10"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenSetColor"}

Fijar color de lápiz

"Fijar color de lápiz" establece como color de lápiz el color especificado en el parámetro (los colores están representados por valores hexadecimales).

Parameters:

Color: este parámetro indicará el color del trazo del lápiz. Selecciona un color de la rueda de colores, o selecciona un color mediante un número hexadecimal.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenChangeHue"}

Cambiar color de lápiz

"Cambiar color de lápiz" aumenta el color de lápiz en el número especificado en el parámetro.

Parameters:

Cambio de color: el color del lápiz, representado como un número hexadecimal, aumentará en este valor.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#ffffff"}],"next":{"func":"blockControlForever","containers":[{"func":"blockPenChangeHue","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}}} Add to my Backpack


{"func":"blockPenSetHue"}

Fijar color de lápiz

"Fijar color de lápiz" establece como color del lápiz el valor especificado en el parámetro (los colores están representados como valores hexadecimales).

Parameters:

Color: el color del lápiz, representado por un número hexadecimal, se establecerá como este número.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#ffffff"}],"next":{"func":"blockControlForever","containers":[{"func":"blockPenChangeHue","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}}} Add to my Backpack


{"func":"blockPenChangeShade"}

Cambiar intensidad del lápiz

"Cambiar intensidad del lápiz" cambia la intensidad (brillo) del lápiz en la cantidad especificada.

Parameters:

Aumento de intensidad: la intensidad del lápiz aumentará en este valor. Números más altos darán un trazo más claro, por lo que debes utilizar un número negativo si quieres que el trazo sea más oscuro.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#ffffff"}],"next":{"func":"blockControlForever","containers":[{"func":"blockPenChangeShade","values":[{"type":"number","value":"10"}],"next":{"func":"blockPenChangeHue","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}}} Add to my Backpack


{"func":"blockPenSetFillColor"}

Fijar color de relleno

"Fijar color de relleno" establece el color de relleno de las formas que dibujes.

Parameters:

Color: este parámetro es un color, representado por un número hexadecimal, que se utilizará para rellenar tus formas.

Related Blocks:
{"func":"blockPenSetNoFill"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenSetNoFill"}

Sin relleno

"Sin relleno" hace que las formas que traces no tengan color de relleno.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenSetFillColor"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenDrawRectangleLocal","values":[{"type":"number","value":"10"},{"type":"number","value":"10"}]}}} Add to my Backpack


{"func":"blockPenSetColor"}

Fijar color de lápiz

"Fijar color de lápiz" establece como color de lápiz el color especificado en el parámetro (los colores están representados por valores hexadecimales).

Parameters:

Color: este parámetro indicará el color del trazo del lápiz. Selecciona un color de la rueda de colores, o selecciona un color mediante un número hexadecimal.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenChangeHue"}

Cambiar color de lápiz

"Cambiar color de lápiz" aumenta el color de lápiz en el número especificado en el parámetro.

Parameters:

Cambio de color: el color del lápiz, representado como un número hexadecimal, aumentará en este valor.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#ffffff"}],"next":{"func":"blockControlForever","containers":[{"func":"blockPenChangeHue","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}}} Add to my Backpack


{"func":"blockPenChangeShade"}

Cambiar intensidad del lápiz

"Cambiar intensidad del lápiz" cambia la intensidad (brillo) del lápiz en la cantidad especificada.

Parameters:

Aumento de intensidad: la intensidad del lápiz aumentará en este valor. Números más altos darán un trazo más claro, por lo que debes utilizar un número negativo si quieres que el trazo sea más oscuro.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#ffffff"}],"next":{"func":"blockControlForever","containers":[{"func":"blockPenChangeShade","values":[{"type":"number","value":"10"}],"next":{"func":"blockPenChangeHue","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}}]}}} Add to my Backpack


{"func":"blockPenSetHue"}

Fijar color de lápiz

"Fijar color de lápiz" establece como color del lápiz el valor especificado en el parámetro (los colores están representados como valores hexadecimales).

Parameters:

Color: el color del lápiz, representado por un número hexadecimal, se establecerá como este número.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#ffffff"}],"next":{"func":"blockControlForever","containers":[{"func":"blockPenChangeHue","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}}} Add to my Backpack


{"func":"blockPenSetShade"}

Fijar intensidad de lápiz

"Fijar intensidad de lápiz" establece la intensidad (brillo) del lápiz al valor especificado.

Parameters:

Intensidad: la intensidad del lápiz se establecerá en este número. Números más altos indican trazos más claros.

Related Blocks:
{"func":"blockPenSetColor"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenChangeSize"} ,     {"func":"blockPenSetSize"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetShade","values":[{"type":"number","value":"50"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#a4a4a4"}],"next":{"func":"blockPenDrawEllipse","values":[{"type":"number","value":"0"},{"type":"number","value":"0"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenSetFillColor"}

Fijar color de relleno

"Fijar color de relleno" establece el color de relleno de las formas que dibujes.

Parameters:

Color: este parámetro es un color, representado por un número hexadecimal, que se utilizará para rellenar tus formas.

Related Blocks:
{"func":"blockPenSetNoFill"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenClear","next":{"func":"blockPenSetSize","values":[{"type":"number","value":"3"}],"next":{"func":"blockPenSetColor","values":[{"type":"color","value":"#000000"}],"next":{"func":"blockPenSetFillColor","values":[{"type":"color","value":"#d7edff"}],"next":{"func":"blockPenDrawRectangle","values":[{"type":"number","value":"-50"},{"type":"number","value":"50"},{"type":"number","value":"100"},{"type":"number","value":"100"}]}}}}}} Add to my Backpack


{"func":"blockPenSetNoFill"}

Sin relleno

"Sin relleno" hace que las formas que traces no tengan color de relleno.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenSetFillColor"}

Sample Code:
{"func":"blockPenClear","next":{"func":"blockPenSetNoFill","next":{"func":"blockPenDrawRectangleLocal","values":[{"type":"number","value":"10"},{"type":"number","value":"10"}]}}} Add to my Backpack


Text

{"func":"blockPenSetFont"}

Set Font

"Set Font" sets the font to the specified font attributes, style, and size.

Parameters:

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":"blockPenDrawText"}

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":"GameOver:("},{"type":"number","value":"-85"},{"type":"number","value":"0"}]}}}}} Add to my Backpack


{"func":"blockPenSetFontColor"}

Set Font Color

"Set Pen Color" sets the color of the font to the color specified by the parameter (colors are represented as hexadecimal numbers).

Parameters:

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

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"blockPenSetFontColor","values":[{"type":"color","value":"#000000"}]} Add to my Backpack


{"func":"blockPenDrawText"}

Draw Text

"Draw Text" draws the specified text on the Stage.

Parameters:

Text: This parameter is a string that holds the text you want to write on the Stage.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenDrawText","values":[{"type":"wrapper","func":"valueControlIfElse","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"string","value":"Pause"},{"type":"string","value":"Play"}]}]}} Add to my Backpack


{"func":"blockPenDrawTextAt"}

Draw Text At

"Draw Text At" draws the specified text on the Stage.

Parameters:

Text: This parameter is a string that holds the text you want to write on the Stage.

X: This is the X coordinate of the origin of your text.

Y: This is the Y coordinate of the origin of your text.

Related Blocks:
{"func":"blockPenSetFont"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenDrawText","values":[{"type":"wrapper","func":"valueControlIfElse","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"string","value":"Pause"},{"type":"string","value":"Play"}]}]}} Add to my Backpack


{"func":"blockPenSetFont"}

Cambiar fuente

"Cambiar fuente" cambia los atributos, el estilo y el tamaño de la fuente.

Parameters:

Atributos de la fuente: este parámetro es cualquier atributo que desees que tenga la fuente. Puedes elegir entre atributos tales como "negrita", "cursiva", "cursiva negrita" o simplemente "normal".

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

Estilo de fuente: este parámetro es el estilo de la fuente, y por lo general incluye múltiples opciones, como "Arial, Helvética, sans-serif". En este caso, primero se seleccionará Arial, luego Helvética y luego Sans-serif, dependiendo de cuáles estén disponibles.

Related Blocks:
{"func":"blockPenDrawText"}

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":"GameOver:("},{"type":"number","value":"-85"},{"type":"number","value":"0"}]}}}}} Add to my Backpack


{"func":"blockPenDrawText"}

Trazar texto

"Trazar texto" dibuja el texto especificado en el escenario.

Parameters:

Texto: este parámetro es una cadena que contiene el texto que deseas escribir en el escenario.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenDrawText","values":[{"type":"wrapper","func":"valueControlIfElse","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"string","value":"Pause"},{"type":"string","value":"Play"}]}]}} Add to my Backpack


{"func":"blockPenDrawTextAt"}

Dibujar texto en

"Dibujar texto en" dibuja el texto especificado en el escenario.

Parameters:

Texto: este parámetro es una cadena que contiene el texto que deseas que se escriba en el escenario.

X: esta es la coordenada X donde comienza tu texto.

Y: esta es la coordenada Y donde comienza tu texto.

Related Blocks:
{"func":"blockPenSetFont"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenDrawText","values":[{"type":"wrapper","func":"valueControlIfElse","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"string","value":"Pause"},{"type":"string","value":"Play"}]}]}} Add to my Backpack


{"func":"blockPenSetFontColor"}

Fijar color de fuente

"Fijar color de fuente" establece como color de la fuente el color especificado en el parámetro (los colores están representados como valores hexadecimales).

Parameters:

Color: este parámetro indica el color con el que aparecerá la fuente. Selecciona un color de la rueda de colores, o selecciona un color manualmente con un valor hexadecimal.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"blockPenSetFontColor","values":[{"type":"color","value":"#000000"}]} Add to my Backpack


{"func":"blockPenSetFontColor"}

Fijar color de fuente

"Fijar color de fuente" establece como color de la fuente el color especificado en el parámetro (los colores están representados como valores hexadecimales).

Parameters:

Color: este parámetro indica el color con el que aparecerá la fuente. Selecciona un color de la rueda de colores, o selecciona un color manualmente con un valor hexadecimal.

Related Blocks:
{"func":"blockPenDown"} ,     {"func":"blockPenUp"} ,     {"func":"blockPenChangeHue"} ,     {"func":"blockPenSetHue"} ,     {"func":"blockPenChangeShade"}

Sample Code:
{"func":"blockPenSetFontColor","values":[{"type":"color","value":"#000000"}]} Add to my Backpack


{"func":"blockPenDrawTextAt"}

Dibujar texto en

"Dibujar texto en" dibuja el texto especificado en el escenario.

Parameters:

Texto: este parámetro es una cadena que contiene el texto que deseas que se escriba en el escenario.

X: esta es la coordenada X donde comienza tu texto.

Y: esta es la coordenada Y donde comienza tu texto.

Related Blocks:
{"func":"blockPenSetFont"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenDrawText","values":[{"type":"wrapper","func":"valueControlIfElse","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"string","value":"Pause"},{"type":"string","value":"Play"}]}]}} Add to my Backpack


{"func":"blockPenSetFont"}

Cambiar fuente

"Cambiar fuente" cambia los atributos, el estilo y el tamaño de la fuente.

Parameters:

Atributos de la fuente: este parámetro es cualquier atributo que desees que tenga la fuente. Puedes elegir entre atributos tales como "negrita", "cursiva", "cursiva negrita" o simplemente "normal".

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

Estilo de fuente: este parámetro es el estilo de la fuente, y por lo general incluye múltiples opciones, como "Arial, Helvética, sans-serif". En este caso, primero se seleccionará Arial, luego Helvética y luego Sans-serif, dependiendo de cuáles estén disponibles.

Related Blocks:
{"func":"blockPenDrawText"}

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":"GameOver:("},{"type":"number","value":"-85"},{"type":"number","value":"0"}]}}}}} Add to my Backpack


{"func":"blockPenDrawText"}

Trazar texto

"Trazar texto" dibuja el texto especificado en el escenario.

Parameters:

Texto: este parámetro es una cadena que contiene el texto que deseas escribir en el escenario.

Related Blocks:
{"func":"blockPenDrawLine"} ,     {"func":"blockPenDrawRectangle"} ,     {"func":"blockPenDrawBezier"} ,     {"func":"blockPenDrawPoint"} ,     {"func":"blockPenDrawTriangle"}

Sample Code:
{"func":"registerFlagTrigger","next":{"func":"blockPenDrawText","values":[{"type":"wrapper","func":"valueControlIfElse","values":[{"type":"wrapper","func":"valueVar","name":"Playing"},{"type":"string","value":"Pause"},{"type":"string","value":"Play"}]}]}} Add to my Backpack


{"func":"registerDraw"}

When Drawing Actor

"When Drawing Actor" activates code below it when the Actor needs to be redrawn.

Parameters:

None.

Related Blocks:
{"func":"blockPenRedraw"}

Sample Code:
{"func":"registerDraw","next":{"func":"blockSoundPlayUntilDone","values":[{"type":"string","value":"female laugh"}]}} Add to my Backpack


{"func":"blockPenRedraw"}

Redraw Actor

"Redraw Actor" causes the Actor whose code you are in to be redrawn.

Parameters:

None.

Related Blocks:
{"func":"registerDraw"}

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


{"func":"registerDraw"}

Al dibujar Actor

"Al dibujar actor" activa el código por debajo del mismo cada vez que se vuelva a dibujar el Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenRedraw"}

Sample Code:
{"func":"registerDraw","next":{"func":"blockSoundPlayUntilDone","values":[{"type":"string","value":"female laugh"}]}} Add to my Backpack


{"func":"blockPenRedraw"}

Volver a dibujar Actor

"Volver a dibujar Actor" hace que se vuelva a dibujar el Actor en cuyo código estás operando.

Parameters:

Ninguno.

Related Blocks:
{"func":"registerDraw"}

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


{"func":"blockPenRedraw"}

Volver a dibujar Actor

"Volver a dibujar Actor" hace que se vuelva a dibujar el Actor en cuyo código estás operando.

Parameters:

Ninguno.

Related Blocks:
{"func":"registerDraw"}

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


{"func":"registerDraw"}

Al dibujar Actor

"Al dibujar actor" activa el código por debajo del mismo cada vez que se vuelva a dibujar el Actor.

Parameters:

Ninguno.

Related Blocks:
{"func":"blockPenRedraw"}

Sample Code:
{"func":"registerDraw","next":{"func":"blockSoundPlayUntilDone","values":[{"type":"string","value":"female laugh"}]}} Add to my Backpack