There are at least two ways to do that.
(1) save location and a reference to the object; then, remove, wait, and replace.
(2) set the transparency of the image of the object to zero, wait, then change it back to 255
The 'wait'ing part should be done with a timer (not a loop), in the class of the object that is hiding.
Save the current time in a class field when you make the object disappear and have the act check to see if the timer is not zero; if not, compare difference between the saved time and current time to see if time has elapsed; when elapsed, make the object re-appear and set the timer variable to zero. Declare the timer variable equal to zero.