Forum:Destroy and remove from play

if i have "the wicked eraser" on the field and it would be destroyed while "macro cosmos" on the field, is the effect of "the wicked eraser" actived?