A character standing on a rooftop that they normally shouldn't stand on, typically because it's a tiled roof, as opposed to a flat surface, or when there's no railing in place.
Otherwise, use on roof instead.