method Location.prototype.toObjectimport { Location } from "https://deno.land/x/replcraft@v1.1.0/lib/world/location.ts"; toObject(prefix?: string): ActionDataConvert the location instance into a ReplCraft-usable object. Parametersoptionalprefix: stringReturnsActionDataReplCraft-usable location object