Help:variable constantly checking for x&y

hi there i was wondering how i can create a variable that constantly checks the x and y coordinates of a mc called drag_mc and if the y coordinate is higer then the starting point or lower then the starting point a mc called slider_mc plays its animation forward normally or in reverse.

thanks help appreciated