I am stuck with the following problem. I'm sure this will be very simple to solve for an advanced user. (Or someone with better math skill than myself.)
What I want to achieve is to smoothly scale an object while it is overlapping a specific tiled background (from any angle). So as soon as it overlaps it needs to scale to double its size and when it is not overlapping scale down to its original size and for the life of me I'm not getting it right.