Closest object position

Getting the closest vertex of a cube.