0% found this document useful (0 votes)
112 views

Looks Blocks in Block Coding and Python Coding _ PictoBlox

Uploaded by

SIMRANJEET KAUR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views

Looks Blocks in Block Coding and Python Coding _ PictoBlox

Uploaded by

SIMRANJEET KAUR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

PICTOBLOX EXTENSION

Looks

Extension Description
Looks blocks are related to the appearance of sprites and the stage.

Available in: Block Coding, Python Coding


Mode: Stage Mode
WiFi Required: No
Compatible Hardware in Block Coding: evive, Quarky, Arduino Uno, Arduino Mega, Arduino
Nano, ESP32, T-Watch, Boffin, micro:bit, TECbits, LEGO EV3, LEGO Boost, LEGO WeDo 2.0, Go DFA,
None
Compatible Hardware in Python: evive, Quarky, Arduino Uno, Arduino Mega, Arduino Nano,
ESP32, T-Watch, Boffin, micro:bit, TECbits, LEGO EV3, LEGO Boost, LEGO WeDo 2.0, Go DFA, None
Object Declaration in Python: sprite = Sprite("Sprite-Name")
Extension Catergory: Default

Introduction

Looks is one of the ten categories of default Scratch blocks. They are color-coded purple and are used
to control a Sprite’s appearance.

Using Looks Functions in Python

The looks functions can be used in Python with the sprite object defined:

Read More
PictoBlox Blocks

The block displays a speech bubble with the specified text for the sprite that runs it, which appears on
the screen for the specified amount of seconds.

The block gives its sprite a speech bubble with the specified text — the speech bubble stays until
another speech or thought block is activated, or the stop sign is pressed.

The block gives its sprite a thought bubble with the specified text, which stays for the specified amount
of seconds.

The block gives its sprite a thought bubble with the specified text. The thought bubble stays until a
speech or thought block with its text block empty is activated, or the stop sign is pressed.

The block changes its sprite’s costume to a specified one.

The block changes its sprite’s costume to the next one in the costumes pane, but if the current costume
is the last in the list, the block will loop to the first.

The block changes the Stage’s backdrop to the specified one.

8
The block changes the backdrop to the next in the list of backdrops, but if the current backdrop is the
last in the list, the block will loop to the first.

The block changes its sprite’s size by the specified amount. The default sprite size is 100; size values
below that percentage are for shrunken sprites, and size values above it are for overlarge sprites.

10

The block sets its sprite’s size to the specified amount. The default sprite size is 100%; anything lower
than that will decrease the size of the sprite on the stage, and anything above will increase the size of
the sprite on the stage.

11

The block changes the specified effect on its sprite by the specified amount. There are seven different
effects to choose from: colour, fisheye, whirl, pixelate, mosaic, brightness and ghost.

12

The block sets the specified effect on its sprite to the specified amount

13

This block resets all 7 graphic effects.

14

If the block’s sprite is hidden, it will show the sprite. If the sprite is already showing, nothing will change.

15

If the block’s sprite is shown, it will hide the sprite. If the sprite is already hidden, nothing happens.
16

The block will place a sprite in front of all other sprites. It does this by changing the sprite’s layer value.

17

The block holds its sprite’s current costume number.

18

The block holds the current backdrop number.

19

The block holds its sprite’s size. This block can be displayed as a Stage monitor.

Block Coding Examples

1 Bouncing an Object
The example demonstrates the bouncing of an object from a
bird's eye view in PictoBlox.

You might also like