Thanks for the replies guys. Koni how would I change the "this setCaptive true" to false when in a certain area. I think it requires a trigger to do what your talking about, which I am very new at using. If you could give a short explanation how that would be great help.
Thanks