Height of the sprite's current image in pixels. If no image or animation are set it's the height of the placeholder rectangle.
The default height is 100. All sprite properties can be both accessed and updated.
var sprite = createSprite(200,200); console.log(sprite.height); sprite.height = 50; console.log(sprite.height); drawSprites();
The height of the sprite.
sprite.scaleto resize a sprite and keep the height to width ratio constant.
Found a bug in the documentation? Let us know at firstname.lastname@example.org