Professional Game Studios Use "Helpers"
Helpers can be anything you like but generally they are Semi Transparent color coded Box Sprites that have Behaviors attached to them such as "SOLID" etc
If at any time you need to get rid of the Boundary Box Helper...Either destroy it,move it or remove its Behavior..Pretty easy..
On the other hand you can also use Helpers to determine exact Positions of edges and other objects etc..
So that for example in Prince of Persia...A Helper Box is placed on the edge of a cliff and if your Character collides with it or Overlaps the Helper Box..you can call animations or any other actions you like before your Character runs off the edge..! Pretty handy for just about any situation you can dream up...
An Example from the Arcade Section shows how to do this...
Example From Scirra Arcade
And the CapX for it is here
Patrolling-Example
Happy Travels !