Hype project: scroll-SizeAdj_JHSv1.hype.zip (145.9 KB)
As You scroll down the page the image shrinks - all sizing and positioning is done in the “Main Timeline” using Hype’s interface - easy for You to change to fit your needs without coding.
hypeDocument.goToTimeInTimelineNamed(whatScroll, 'Main Timeline');
This function is triggered by the “On Scene Load” handler in the “Scene Inspector”.
Post edit note: Updated file with changes per @MarkHunte (see 2 posts below):
scroll-SizeAdj_JHSv2.hype.zip (145.7 KB)