i have an doubt on zoom in and zoom out, actually i'm having one object by clicking taht object the object has to zoom in and zoom out continously .
please share your thoughts.
Develop games in your browser. Powerful, performant & highly capable.
You can use the "set scale" on the layout to zoom in and out on the layout. If you just want to scale the button you can also use the "set scale" command.
If you want it to be more smooth use it together with lerp(there are some good examples of how to use the lerp funtion in the FAQ section. Just search for lerp on that site.
Thanks for the tip...