How to build a dynamic wipe transition using a object.