Hi! I've come across an old post regarding a scratch card simulation. I downloaded and played around with the file and wanted to ask a question about scaling my document with this feature.
I want to scale my layout within Hype proportionally to the page width and heigh, meaning constrain the layout size and fit it to the browser window width or heigh regardless of the device you're previewing on. The issue I'm having is when the document scales down, the canvas area that allows you to scratch gets reduced in size.
How can I fix this without changing my scaling options on the 'Wrapper' group layer?
My reason for these scaling properties is to display the layout on any screen size and still fill the entire layout with the scratch surface dynamically.
Any advice would be helpful please. I've attached the Hype file with the scaling I am using.
scratch-example.hype.zip (352.1 KB)