As long as it's mounted on the windscreen no just rested on dash and can be easily visable from +20 meters then yes it's fine and will pass an mot. But it does look very chavy as I have been told whilst I had mine in window. (it is what Chavs do really so can't argue) lol
