======Modify Navigation======
----
Modifies the type of navigation and interaction allowed between two adjacent tiles. The acceptable values for navigation type are listed and explained on the [[Navigation and Interaction]] page.
====Signature:====
modify_navigation(from_tile, to_tile, navigation_type)
^Argument^Description^Type^Required^
|from_tile|Tile to connect navigation from.|[[Entity]]|Yes|
|to_tile|Tile to connect navigation to.|[[Entity]]|Yes|
|navigation_type|Navigation type to set between the two tiles.|[[navigation_and_interaction|Navigation Type]]|Yes|
See [[Replace Navigation]] if you'd like to update any navigation paths of a specific type relative to an entity instead of only between two adjacent tiles.
====Example:====
modify_navigation("tile01", "tile02", WALK_AND_INTERACT);
//Results:// Characters are now able to walk and interact between the tiles with IDs of "tile01" and "tile02".
Use the **Modify Navigation** function to open up new routes for the player to travel through, for example when a door is opened or a blocking object has been removed from a tile.
----
====Editor Node:====
{{:wiki:modify_navigation_node.png?nolink|}}
====Visual Demo:====
{{:wiki:modify_navigation_demo.gif?nolink|}}
~~NOTOC~~