>it works fine but how to make a snapshot in a code ? >I had made the snapshot previously, before starting the mouseUp >now the question remains : how to make a snapshot "on the fly" ? > >can anybody answer this ? Use the Import snapshop command : import snapshot from rectangle (the rect of stack "myStack")