Allowing an agent to navigate anywhere _other_ than the platform TileSet?

Godot Version

4.4.1

Question

So I’m just starting to play with 2D navigation for the first time. It’s a platform game and I’ve got some flying enemies that I want to be able to navigate the map.

I’m using a TileSet for the platforms / walls etc. and ‘empty space’ is just that, no tile at all.

Is there a way of saying ‘allow agent to navigate anywhere on the level other than these tiles with a navigation layer enabled’?

Create a NavigationPolygon for the entire level and then somehow subtract the platform tiles?

I’m not sure of an approach to this problem, so any pointers much appreciated.