Thanks for replying
by invisible squares. ( "areanormal" and "areashrink".
Not sure how to do this properly.
I have set scale manually but I am trying to have the program do it automatically.
So basically I have something like this:
" pick a random "areanormal"
create object on layer 0 at (areanormal.x, areanormal.y)
This works as intended.
However, I wish to have it also do this:
" pick a random "areashrink"
create object on layer 0 at (areashrink.x, areasshrink.y)
BUT ALSO DO THIS
if the object is located at "areashrink", have the object scale down to be the same size as areashrink
I can set size of the object like this: set size to (shrinkarea.x, shrinkarea.y)
but it actually enlarges the image...strange
update: added shrinkarea.x/2, shrinarea.y/2 and that seems to "kind of" work. However that works on only 1 sprite.
Do I have to add the same condition to all the sprites?
Maybe add a variable?
update2:
I have multiple "shrinkareas"
On one of them, the sprite scales correctly when on top of the shrinkarea but on the other it warps the dimensions of the sprite