Let X, be n-dimensional diffusion process and S, be a smooth set-valued function. Suppose X-t is invisible when X-t is an element of S-t, but we can see the process exactly otherwise. Let X-t0 is an element of S-t0 and we observe the process from the beginning till the signal reappears out of the obstacle after to. With this information, we evaluate the estimators for the functionals of X-t on a time interval containing to where the signal is hidden. We solve related 3 PDEs in general cases. We give a generalized last exit decomposition for n-dimensional Brownian motion to evaluate its estimators. An alternative Monte Carlo method is also proposed for Brownian motion. We illustrate several examples and compare the solutions between those by the closed form result, finite difference method, and Monte Carlo simulations. (C) 2004 Elsevier B.V. All rights reserved.