How do I animate an outline of a rectangle

I’m in the process of creating some basic learning demos for staff and I’m trying to apply an animation where the outline of a rectangle appears as if it’s been drawn over the area where I’m showcasing (similar to what you see in other training demos for how to use captivate).  Haven’t been able to come across how I would achieve this and any help is much appreciated! Thanks