Toggle Navigation Mesh Plug-in

I noticed that all of the navigation mesh plugins on the marketplace weren’t great, so I made a simple plug-in that toggles it.

Features:

  • easily toggle the navigation mesh setting (used for Roblox’s pathfinding)
  • synced with the studio setting

You can download it on the marketplace, or make a local plug-in using the code below…


local __mySettings = settings().Studio
local settingName = "Show Navigation Mesh"

local toolbar = plugin:CreateToolbar("Navigation Mesh")
local toolbarButton = toolbar:CreateButton("Show Navigation Mesh", "Toggles visibility of navigation meshes.", "rbxassetid://10002492897");
toolbarButton.ClickableWhenViewportHidden = false;

__mySettings.Changed:Connect(function()
	toolbarButton:SetActive(__mySettings[settingName])
end)

toolbarButton.Click:Connect(function()
	__mySettings[settingName] = not __mySettings[settingName]
end)

if __mySettings[settingName] then
	toolbarButton:SetActive(__mySettings[settingName])
end
5 Likes

???

7 Likes

Also, there is this option
image

It says the same thing but it’s Spanish duh

2 Likes

Yup. But this way you can toggle it without having to go into the menu.

It’s not a large plug-in, most people won’t find this helpful. However if you are constantly toggling it, this plug-in will prove useful.

2 Likes

What great timing, I was just hoping to find a plugin like this.

1 Like