Sprite height is updated incorrectly with STRETCH SPRITE. It is updated with width instead.
SCALE SPRITE & SIZE SPRITE are ok.
sync on : sync rate 60
cls rgb(255,0,0)
circle 64,64,50
get image 1,0,0,128,128,1
sprite 1,100,100,1
a#=0
do
a#=wrapvalue(a#+1)
stretch sprite 1,100+(50*sin(a#)),100+(50*cos(a#))
` scale sprite 1,100+(50*sin(a#))
` size sprite 1,100+(50*sin(a#)),100+(50*cos(a#))
x=sprite x(1)
y=sprite y(1)
sw=sprite width(1)
sh=sprite height(1)
circle x,y,10
circle x+sw,y,10
circle x,y+sh,10
circle x+sw,y+sh,10
text 0,0,"Width = "+str$(sw)
text 0,20,"Height = "+str$(sh)
sync
loop
Boo!