Changing size at the horizon?



I want to make a game, in wich I want the animals to be smaller at the horizon, and bigger at the bottom of your screen. Is there a way to do that cause I have no idea. Btw the animals need to move closer and furter away.



When the play button is tapped
Repeat Forever
Set size to (something involving it's Y POS.)

Just experiment with this kind of code, and soon enough, you will find the perfect thing to replace the parenthesis to make it how you want!!!


You can see the code I came up with here:
but it's a bit glitchy. Basically, press the iPad and Bear will move there at the corresponding size. Adjust it how you'd like!


Maybe you can check out my project "The Star Wars Text (in progress)" and play with the code :grinning: