Hittest objects in clip(solved)

Im using candlestick so that might effect this but idk.

I want a way to have hit boxes inside a clip frame, that can interact with objects outside of the clip.
Ex: a ball that only appears on a frame of the clip, that can turn on like a button or something.

Just trying to have the hittest go right to the outside object dosent work as its considered undefined.
Ex: if(this.hits(object)) {variable=true} —> “object” not defined
Even if “object” is their, it won’t register it inside the clip.

Figured it out. Just had to use project.item