Change brightness of object

Hi All,

I want to know that is there a way to change the brightness of the an object in Corona. Like have a button on screen and when that is taped an object becomes brighter and when button touched again object becomes darker.

Thanks

The forthcoming Graphic 2.0 engine will help a lot with this sort of thing, but for now I would suggest overlaying a darker object on top of your image and making the overlay mostly transparent. When you want the object to be lighter, make the overlay fully transparent. Working with an alpha value, for the overlay, of between 0.0 and 0.2

The forthcoming Graphic 2.0 engine will help a lot with this sort of thing, but for now I would suggest overlaying a darker object on top of your image and making the overlay mostly transparent. When you want the object to be lighter, make the overlay fully transparent. Working with an alpha value, for the overlay, of between 0.0 and 0.2