made area emitter function with the drape object