Variable of type World doesn't show up in creation!

Could I know how you got the variable?
I need to put it in a function to open level maps, I can’t find it either.