Can you see a spider ______ the ceiling?

Can you see a spider ______ the ceiling?

Explanation

The correct preposition is "on" because the spider is attached to the surface of the ceiling.

"On the ceiling" means something is resting or moving along its surface.