Sprite::setSize()
Sets the size of the sprite.
Syntax
Java
.setSize(percentage)
Scratch
set size to (percentage) %
Parameters
| Name | Data Type | Description |
|---|---|---|
| percentage | double | a percentage [0...100] |
Return
void
Sets the size of the sprite.
.setSize(percentage)
set size to (percentage) %
| Name | Data Type | Description |
|---|---|---|
| percentage | double | a percentage [0...100] |
void