This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| modify_navigation [2017/06/11 12:43] – justin | modify_navigation [2021/04/21 18:35] (current) – justin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ---- | ---- | ||
| - | Modifies the type of navigation and interaction allowed between two adjacent tiles. The acceptable values for navigation type are described below: | + | Modifies the type of navigation and interaction allowed between two adjacent tiles. The acceptable values for navigation type are listed |
| - | * **// | + | |
| - | * **// | + | |
| - | * **// | + | |
| - | * **// | + | |
| - | * **// | + | |
| + | ====Signature: | ||
| <code python> | <code python> | ||
| - | modify_navigation(first_tile_id, second_tile_id, navigation_type) | + | modify_navigation(from_tile, to_tile, navigation_type) |
| </ | </ | ||
| ^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
| - | |first_tile_id|ID of the first tile.|[[String]]|Yes| | + | |from_tile|Tile to connect navigation from.|[[Entity]]|Yes| |
| - | |second_tile_id|ID of the second tile.|[[String]]|Yes| | + | |to_tile|Tile to connect navigation to.|[[Entity]]|Yes| |
| - | |navigation_type|Navigation type to set between the two tiles.|[[Constant]]|Yes| | + | |navigation_type|Navigation type to set between the two tiles.|[[navigation_and_interaction|Navigation Type]]|Yes| |
| <WRAP center round info 100%> | <WRAP center round info 100%> | ||
| - | See [[Replace Navigation]] if you'd like to update any paths of a specific | + | See [[Replace Navigation]] if you'd like to update any navigation |
| </ | </ | ||
| ====Example: | ====Example: | ||
| - | < | + | < |
| - | modify_navigation(" | + | modify_navigation(" |
| </ | </ | ||
| // | // | ||