GE Lua Documentation

Press F to search!

deletePath

Definition


-- @/lua/ge/extensions/core/paths.lua:70

local function deletePath(path)
  local deletionIndex
  for i, p in ipairs(paths) do
    if p.name == path.name then
      deletionIndex = i
      break
    end
  end

  if deletionIndex then
    table.remove(paths, deletionIndex)
  end
end

Callers

@/lua/ge/extensions/editor/camPathEditor.lua
  end
  core_paths.deletePath(actionData.path)
end