X-ray glasses do not actually allow the user to see through objects. They are constructed of a plastic frame with lenses of heavy cardboard. ... This effect creates the illusion of x-ray vision. The prankster then uses the glasses and pretends to be able to see through things like walls, clothes, and other objects.