Comprehensive Rules
608.2h
If an effect requires information from the game (such as the number of creatures on the battlefield), the answer is determined only once, when the effect is applied. If the effect requires information from a specific object, including the source of the ability itself, the effect uses the current information of that object if itâs in the public zone it was expected to be in; if itâs no longer in that zone, or if the effect has moved it from a public zone to a hidden zone, the effect uses the objectâs last known information. See rule 113.7a. If an ability states that an object does something, itâs the object as it existsâor as it most recently existedâthat does it, not the ability.