print('type','name')
print('--------------------')
local pos=scene.getMobilesHead()
while (pos) do
local mov,typename
mov,pos,typename=scene.getMobilesNext(pos)
if (mov) then
print(typename,mov.getName())
end
end