I wanted to slowly fade an object, stopping at a certain number. ex. fade till reaching opacity 35.
Develop games in your browser. Powerful, performant & highly capable.
On every tick
If object opacity>35 : Object set opacity to (object.opacity-0.1)