//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\// //\/script name: object_dragndrop /\// //\/ creator: Mystro @ mystro-games.tripod.com /\// //\/ date: April 5, 2005 /\// //\/description: Checks if game is registered /\// //\/ arguments: argument0 = x position on object's sprite that/\// //\/ needed to be clicked on to drag /\// //\/ argument1 = y position of draging location /\// //\/ argument2 = width of draging location /\// //\/ argument3 = height of draging location /\// //\/ remarks: Must be placed in step event /\// //\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\// if(!variable_local_exists('mx'))mx=-1 if(!variable_local_exists('my'))my=-1 if(mouse_check_button_pressed(mb_left))and(mouse_x>x+argument0)and(mouse_y>y+argument1)and(mouse_x