local args = { ... }
if #args == 0 then
	print('Usage: goto <x> <y> <z> [facing]' )
	print('       goto <placemark>' )
	print('Available placemarks:')
	for name,placemark in pairs(tx.get_placemarks()) do
	    o = ''
	    if placemark.o ~= nil then
	        o = ','..placemark.o
	    end
	    print('  '..name..': ('..placemark.x..','..placemark.y..','..placemark.z..o..')')
	end
	return
elseif #args == 1 then
    name = args[1]
    tx.goto_placemark(name)
else
    tox = tonumber(args[1])
    toy = tonumber(args[2])
    toz = tonumber(args[3])
    if #args == 4 then
        too = tx.norm_direction(tArgs[4])
    else
        too = nil
    end    
    tx.goto(tox, toy, toz, too)
end