How to tell if the player is inside a non-rectangular/non-spherical area?

Ah, runtime. I saw this, it’s a little old, but might point you in the right direction?