Particle border around object

I’d like to have an effect like a neon / lightning / electrical animated border around a selected object (or multiple objects), say a playing card.  I’ve been combing through the forums but can’t seem to find anything similar.  

Not sure if particles will work because the effect needs to happen right when it is selected and emitters normally take time to fill the space with particles.  I suppose I could have the emitters always running and change the alpha to 1 when needed?

Another option is some sort of multi frame animation that I can apply around the object

How are people typically doing this?

Roy

You could clone the object you want the border around, drop it behind and then blur (or some other filter) it and colour it?

There are some cool effects you can do with filters - https://docs.coronalabs.com/guide/graphics/effects.html

Another idea is to create a border for the object, “fill” it with a repeating fill, and then animate the fill using a transition. This tutorial may give you some ideas:

https://coronalabs.com/blog/2013/11/07/tutorial-repeating-fills-in-graphics-2-0/

Brent

If you were to do this with particles, you could just keep the particle effects animating but offscreen so when you move them to where they are needed, they’d already be live, so to speak.

You could clone the object you want the border around, drop it behind and then blur (or some other filter) it and colour it?

There are some cool effects you can do with filters - https://docs.coronalabs.com/guide/graphics/effects.html

Another idea is to create a border for the object, “fill” it with a repeating fill, and then animate the fill using a transition. This tutorial may give you some ideas:

https://coronalabs.com/blog/2013/11/07/tutorial-repeating-fills-in-graphics-2-0/

Brent

If you were to do this with particles, you could just keep the particle effects animating but offscreen so when you move them to where they are needed, they’d already be live, so to speak.