How can I transfer one element from one frame to another by click interaction?

How can I transfer one element from one frame to another by click interaction?