if (instance_exists( obj_player ) ) { x = obj_player.x; y = obj_player.y; z = obj_player.z; }