how to create a moving ray light effect on images

I want to create a moving ray lighting effect on objects, something like the below video(the effect that goes on stars),
How can i do it with corona?
https://youtu.be/RMBPMTD_in0

A mask the same shape as the image on top of the image and then just wipe a rotated rectangle through the masked area.

I meant the ray light effect on stars in video, did your answer meant for this?

wipe a rotated rectangle through the masked area

can you explain a little more?

thanks

Yes, I meant that. Try reading this and experimenting:

https://docs.coronalabs.com/api/library/graphics/newMask.html#mask-on-display-group

Or make a simple animation?

A mask the same shape as the image on top of the image and then just wipe a rotated rectangle through the masked area.

I meant the ray light effect on stars in video, did your answer meant for this?

wipe a rotated rectangle through the masked area

can you explain a little more?

thanks

Yes, I meant that. Try reading this and experimenting:

https://docs.coronalabs.com/api/library/graphics/newMask.html#mask-on-display-group

Or make a simple animation?