So I have a mage that will do this if they hit a collision body below screen
func _on_Teleport_body_entered(body):
if body.has_method("_teleport"):
body._teleport()
But for some reason when My priest falls down and gets teleported he appears for a second then immediately disappears.
func _teleport():
position = spawn
I don't know what's wrong and there aren't any errors