Did you consider mapping the position from local to parent / global and then checking the condition, as said earlier by amulya ??
please give time to understand what is being said to you. And also Assistant has quite good details about the geometry.
Bookmarks