So I'm looking to modify greater and lesser planar binding to have teleportation effects.
I'll have the spells retain their usefulness in terms of paralyzing outsiders and summoning allies, if you click on an outsider and click on yourself respectively.
If a player clicks somewhere on the ground they'll teleport to that location.
I'm having a difficult time getting the PC's click location and also, making it so they can't teleport to an "illegal" location which is basically anywhere that you wouldn't be able to get to normally on foot, like the top of a building or a plateau with no ramp leading up to it.