Scene Object

Unlike the Render Object Node, the Scene Object Node allows you to read data from any object in the scene. In this example, this was used so that the distance between the objects affects the coloring of the sphere.
Note:

This Node is only available when editing a classic Cinema 4D Node Material.

With the help of this Node, individual objects in the scene can be read out. For example, within the material you can learn about the position, size or distance of any object.