GE Lua Documentation

Press F to search!

editorEnabled

Definition


-- @/lua/ge/main.lua:492

function editorEnabled(enabled)
  --print('editorEnabled', enabled)
  extensions.hook('onEditorEnabled', enabled)
  map.setEditorState(enabled)
end

Callers

@/lua/ge/main.lua

  editorEnabled(Engine.getEditorEnabled()) -- make sure the editing tools are in the correct state
  handleCommandLineFirstFrame()