Hiya theu UVB tube should be near to the dragon,...im afraid on top of the fishtank wont be any gd. 24" should be fine tho. Also rankins dragons like bearded dragons need a basking area...this shuld be around 90' according to most caresheets x