Swap depth tutorial help

i know that this isnt the most advanced way of doing this but im trying

i have followed the swapdepth tutorial except ive added a tell target to create a window effect etc. couldnt figure out a different way. however my windows do not swap they are draggable but they donot swap. Any help on how to fix this situation or a work around not involving tell target(i know its old)