Why can i only refrence a prefab?


In the image i am trying to refrence the Ball object in the current scene but i can only refrence the one in the prefab why?

It seems like you have two different scenes open at the same time, Unity scenes doesn’t support references to objects in other scenes.
To achieve this you will need to restructure your project or find a way to do the referencing dynamically when entering playmode.

Ok thanks for the answer!