Instances can only be manipulated in actions when they are picked by a condition, or in an event that they are created.
Functions specifically break picking which can be useful, but if you need to re pick an object in a function you can pass the objects id, or uid in a function parameter.
Just remember to use the param to do a comparison to re-pick the object in a subevent of the function.