Skip to content

sprites · reference

sprite.getScaledWidth·

How wide the sprite looks after its scale.

use
sprite.getScaledWidth()
kind
a value: it goes inside another block
drawer
Sprites, in the code room's blocks

player two knows this block

Ask it how sprite.getScaledWidth works in your game.